Breadcrumbs should allow links to be on different vhosts

Bug #433997 reported by Данило Шеган
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
Unassigned

Bug Description

In some cases, we might want to have breadcrumbs use canonical_url on a different rootsite than the default for that interface.

For instance, we want to do that for ISourcePackage breadcrumb on

  https://translations.edge.launchpad.net/ubuntu/jaunty/+source/findutils/

(have the final breadcrumb there point to "translations.lp.net/.../findutils" instead of "lp.net/.../findutils")

However, this is only because we want to work-around the bad traversal as it is today on translations, so I am not yet sure it'd be smart to have this. Lack of such feature has made us fix all the bad canonical_urls in LP Translations, so I think we should not implement it until we get a real *good* use case.

Revision history for this message
Guilherme Salgado (salgado) wrote :

This should be doable if we turn breadcrumbs into multi adapters (like views) so that you can specify a custom breadcrumb adapter for source packages on the translations layer. it's something that would make sense and would be relatively easy to implement, I think

Changed in launchpad-foundations:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Barry Warsaw (barry) wrote :

Turning the adapter into a multi would help (though not be essential for) the i18n issue in bug 433991 wouldn't it?

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

Breadcrumbs do support this now. This specific case does not work because a breadcrumb adapter is needed.

Changed in launchpad-foundations:
milestone: none → 3.0
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.