Chameleon tales "string:" prefix does not cast to a string

Bug #701633 reported by Gary Poster
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Chamelon ZPT
New
Undecided
Unassigned
Launchpad itself
Triaged
Low
Unassigned

Bug Description

Unlike the standard Zope implementation, using the Chameleon tales "string:" prefix does not cast to a string if there are no other strings that are part of the string expression. See string:${announcement/id} in lp/registry/templates/announcement-macros.pt .

Workaround: use python:str() for pure casts.

Tags: chameleon
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.