'ubunet' project name should redirect to 'ubuntuone-servers'

Asked by Paul Sladen

If the interweb already has an existing link to:

  https://bugs.launchpad.net/ubunet/+bug/375345

and the project named in the base URL is renamed, then the existing link will now be *broken* generating an unhelpful "Lost something?" error page. Ideally Launchpad should just do the right thing(tm) and return a permanently-moved redirect including the new project name; in this case:

  https://bugs.launchpad.net/ubuntuone-servers/+bug/375345

This could probably be done by the existing bug URL canonicalisation code simply being run for a *all* +bug/NNNNN link requests.

Question information

Language:
English Edit question
Status:
Invalid
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Curtis Hovey
Solved:
Last query:
Last reply:
Revision history for this message
Eleanor Berger (intellectronica) said :
#1

The solution you proposed is problematic because we want to capture the relation between a bug and one of the targets in which it manifests in the URL. However, there's a much simpler solution that will work for other objects. Launchpad should rewrite the URL for a renamed project.

Revision history for this message
Matthew Paul Thomas (mpt) said :
#2

One way of fixing this would be (as I suggested in bug 317136 for a different reason) to make https://launchpad.net/bugs/NNN the canonical non-redirecting URL for any bug report in its first, and usually only, context.

See also bug 153763, the equivalent problem for disabled projects rather than renamed ones.

Revision history for this message
Curtis Hovey (sinzui) said :
#3

Launchpad does support this feature. The person who requested the project rename should have also requested an alias to enable the redirect.

Revision history for this message
Paul Sladen (sladen) said :
#4

There are URLs *already* out there on the web, and they are now 404'ing.

This is a bug, not a question!

Revision history for this message
Paul Sladen (sladen) said :
#5

For absolute clarity. This bug report is/was recording the requirement for a generic fix for all occasions of broken URLs when a project is renamed.

It is absolutely _not_ a request to the administrators of one particular running Launchpad instance to retrospectvely add a workaround for one particular project.

Revision history for this message
Curtis Hovey (sinzui) said :
#6

This bug was coverted to a question twice.