Visiting a non-existing template for a product gets me a system error
Bug #1400 reported by
Christian Reis
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
Steve Alexander |
Bug Description
Visit:
https:/
Expected result:
A (404) page saying the template I linked to doesn't exist, and offering a link to the page where I can actually find out what templates exist on that product.
Changed in rosetta: | |
status: | New → Accepted |
Changed in rosetta: | |
assignee: | nobody → stevea |
To post a comment you must log in.
The way to implement this is by writing views on exceptions. We need to ensure that the specific case of not finding a template raises a specific kind of not found exception, and then write a 404 page for that exception.
The same approach can be used elsewhere too.