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

Asked by Paul Sladen on 2009-10-11

Add 'ubunet' as an alias to 'ubuntuone-servers' so that old URLs continue to work.

OLD DESCRIPTION:
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:
Answered
For:
Launchpad itself Edit question
Assignee:
[LEGACY] Canonical WebOps Edit question
Last query:
2009-10-11
Last reply:
2010-01-03

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.

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.

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.

Paul Sladen (sladen) said : #4

< sladen> wgrant: if the solution is to add a tick box (selected by default of course) to the LP admin renaming interface ("add redirect for old project name") then that's a solution---it's a change of workflow where something happens automatically
<wgrant> sladen: It's well known that if URLs need to not break, an alias should be added. I don't think there's much value in adding a special case.
<wgrant> But perhaps it is a valid request that such a checkbox should be added.

Curtis Hovey (sinzui) said : #5

Add the alias ubunet to ubuntuone-servers so that links to the old project continue to work

Steve McInerney (spm) said : #6

Alias added.

Cheers!
- Steve

Can you help with this problem?

Provide an answer of your own, or ask Paul Sladen for more information if necessary.

To post a message you must log in.