/project-group/member-project should redirect to /member-project or vice-versa

Bug #436712 reported by Gavin Panella
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

https://edge.launchpad.net/launchpad-project/malone shows the same as https://edge.launchpad.net/launchpad-project/malone with the exception that the page title and breadcrumbs differ. We should kill one of these and redirect to the other.

Tags: lp-registry ui
Curtis Hovey (sinzui)
Changed in launchpad-registry:
status: New → Triaged
importance: Undecided → Low
milestone: none → 3.1.10
tags: added: post-3-ui-cleanup
Curtis Hovey (sinzui)
Changed in launchpad-registry:
milestone: 3.1.10 → none
Curtis Hovey (sinzui)
Changed in launchpad-registry:
milestone: none → series-3.1
Revision history for this message
Curtis Hovey (sinzui) wrote :

No page makes URLs with the project under the project group. Google does not know of any such URLs.

There is one code point to change. It shoule read:

ProjectNavigation.traverse
...
    return self.redirectSubTree(canonical_url(self.context.getProduct(name)))

There is no explict tests that say a project should appear under a projectgroup but it is implicitly shown in
    xx-project-add-product.txt
The test can be fixed to use the correct URL

A good unit test will use test_branchtraversal as guide (.assertRedirects, .tranverse)

Huw Wilkins (huwshimi)
tags: added: ui
removed: post-3-ui-cleanup
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.