Visiting a non-existing template for a product gets me a system error

Bug #1400 reported by Christian Reis
6
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
Steve Alexander

Bug Description

Visit:
https://launchpad.ubuntu.com/rosetta/products/encfs/template

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.

Revision history for this message
Steve Alexander (stevea) wrote :

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.

Revision history for this message
Carlos Perelló Marín (carlos) wrote :

In this case, I think that URL should be killed, so everytime we get the URL:

https://launchpad.ubuntu.com/rosetta/products/encfs

we forward them to https://launchpad.ubuntu.com/products/encfs/+translations

Revision history for this message
Christian Reis (kiko) wrote :

I agree entirely with Carlos.

Revision history for this message
Christian Reis (kiko) wrote :

Note that the problem I am pointing out here is that

https://launchpad.ubuntu.com/rosetta/products/encfs/foo-bar-baz-nothing-here

is plain a 404 error. Actually, it's a system error now that I've checked on it. But

https://launchpad.ubuntu.com/rosetta/products/encfs/

works fine. I would like the page for no-such-template to tell me "this template doesn't exist, but you can see all templates for product encfs <a href...>here</a>.

Changed in rosetta:
status: New → Accepted
Dafydd Harries (daf)
Changed in rosetta:
assignee: nobody → stevea
Revision history for this message
Данило Шеган (danilo) wrote :

This seems to have long been fixed (not to mention that URL scheme has changed significantly :).

I.e. https://translations.edge.launchpad.net/products/encfs/template forwards correctly to /encfs/template which gives a 404.

Changed in rosetta:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.