"Your language preferences" page has multiple URLs

Bug #287524 reported by Matthew Paul Thomas
4
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned
Revision history for this message
Diogo Matsubara (matsubara) wrote :

Curtis, what do you think?

Revision history for this message
Curtis Hovey (sinzui) wrote :

This is a consequence of the changes made for API and AJAX; they require collections and the behaviours to work across domains. Some hackery is need to do the right thing, and it is not clear what the right thing is? https://bugs.launchpad.net/people/+me/+assignedbugs has correct behaviour. I think the +me calls should ensure the user is always redirected to launchpad.net for a set of exceptions, such as +editlanguages.

Changed in launchpad-registry:
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Matthew Paul Thomas (mpt) wrote :

I don't think this bug has anything in particular to do with the /people/+me redirection, or with "AJAX". An equivalent problem occurs, for example, with <https://bugs.launchpad.net/launchpad/+addquestion> and the same URL path on other Launchpad domains.

The problem does not exist for +translate URLs, though, so maybe +editlanguages could be fixed the same way. For example, <https://bugs.staging.launchpad.net/ubuntu/intrepid/+source/debian-installer/+pots/debian-installer/af/+translate> redirects to <https://translations.staging.launchpad.net/ubuntu/intrepid/+source/debian-installer/+pots/debian-installer/af/+translate>.

Revision history for this message
Curtis Hovey (sinzui) wrote :

Wow. That (https://bugs.../+addquestion) is not just wrong, the configuration says that will never happen. The ``facet`` directive in the ZCML is not working as expected. The configuration clearly states that +addquestions is only registered for the answer facet, only used by the answers host.

Looking at the +editlanguages issue, it too may only appear on the overview tab.

I'm going to move this launchpad-foundations. This looks like a problem in webapp/(metazcml|publish).py

Curtis Hovey (sinzui)
tags: removed: ui
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.