Invenzzia »

IMPORTANT ANNOUNCEMENT

Due to the uncertain status of the Flyspray project, lack of new releases and moving the code repository to Github, we decided to shutdown this issue tracker by the end of January 2011. From that date, the bugs should be reported directly in Github project repositories.

List of repositories:

Open Power Template 2.x family

PLEASE PROVIDE THE TEMPLATES AND/OR PHP CODE IN THE TASK DESCRIPTION (Not URL-s to them). THAT ALLOWS US TO REPRODUCE THE PROBLEM! OTHERWISE WE ARE NOT ABLE TO HELP YOU!

Remember to hide all the security-related pieces of code from the task description, like passwords, server paths etc. for your own safety. Once we close the task, we cannot edit it anymore!
Tasklist

FS#149 - Namespaces str: and parse: not resetted after parsing atribute

Attached to Project: Open Power Template
Opened by cyryl (cyrylas) - Thursday, 14 January 2010, 06:25 GMT-8
Last edited by Zyx (Zyx) - Thursday, 14 January 2010, 10:29 GMT-8
Task Type Bug Report
Category Template syntax
Status Closed
Assigned To Zyx (Zyx)
Operating System OS-independent
Severity Low
Priority Normal
Reported Version 2.0.3
Due in Version 2.0.4
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

It looks like namespaces are not returning to default namespace after parsing namespace.

Best, it can be explained on examples:

[code]<a><opt:url action="'view'" id="$users::id"/>Show</a>[/code]
produces: /users/view/5 (as expected)

[code]<a><opt:url str:action="view" id="$users::id"/>Show</a>[/code]
produces /users/view/$users::id (expected /users/view/5)

[code]<a><opt:url str:action="view" parse:id="$users::id"/>Show</a>[/code]
produces: /users/view/5 (as expected)

I would say, that id attribute in second example should be parsed (as it is in opt: namespace and do not has str:).
This task depends upon

Closed by  Zyx (Zyx)
Thursday, 14 January 2010, 10:29 GMT-8
Reason for closing:  Fixed
Additional comments about closing:  Fixed in rev. 278

Loading...