Make it possible to pass an extra view_name argument to tales url formatter from within templates

Bug #204356 reported by Guilherme Salgado
4
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Guilherme Salgado

Bug Description

The existing fmt:url takes an optional view_name as argument but thanks to ObjectFormatterExtendedAPI.traverse(), the view name specified in templates is not passed to it. We need to fix this in order to be able to write things like

<tal:something replace="context/fmt:url/+viewname" />

Changed in launchpad:
importance: Undecided → High
status: New → Confirmed
Changed in launchpad-foundations:
assignee: nobody → salgado
milestone: none → 2.1.10
status: Confirmed → In Progress
Revision history for this message
Guilherme Salgado (salgado) wrote :

landed on mainline r7043

Changed in launchpad-foundations:
status: In Progress → Fix Committed
Changed in launchpad-foundations:
status: Fix Committed → 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.