Wikimedia

Tracker returns 500 instead of 404 when trying to edit non-existent ticket in admin

Knowledge expectations

Student is expected to know a little bit about Python.

Problem - steps to reproduce

  1. Ensure you're logged in with admin account.
  2. Go to /admin/tracker/ticket/1555555/ (the number should not match ID of any existing ticket)
  3. You will be shown 500 Internal Server Error
  4. 404 Not Found error is expected

Full traceback for this 500 Internal Server Error is in linked Phabricator task.

Please submit your work into Gerrit. If you want to learn how to use Gerrit first, you can claim this task. Student is expected to claim the Phabricator task when claiming this task on GCI.

Materials

Task tags

  • python
  • django

Students who completed this task

refeed

Task type

  • code Code
close

2018