FLUID-4276: Template strings do not render properly being used a second time

Metadata

Source
FLUID-4276
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Antranig Basman
Reporter
Jonathan Hung
Created
2011-06-01T15:43:34.139-0400
Updated
2015-06-17T10:24:51.936-0400
Versions
  1. 1.3
Fixed Versions
  1. 1.4
Component
  1. IoC System
  2. Renderer

Description

Attempting to use an argument in a template string a second time results in it not being rendered properly.

Example:

Event has the following argument
args: [
{
fileName: "{arguments}.0.name",
srcURL: "{arguments}.1"
}
]

The template: "<img src='%srcURL' alt='%fileName' class='igStyle-imageFrame' /> %fileName"

When the template gets rendered you will get literally %fileName printed instead of the value of the actual filename.

Comments

  • Antranig Basman commented 2015-06-09T19:57:51.093-0400

    This was fixed in revision 45a809365269fcafe30434edc2f300820a2bd44 committed to trunk on July 27 27th, 2011