Uploaded image for project: 'Fluid Infusion'
  1. Fluid Infusion
  2. FLUID-4276

Template strings do not render properly being used a second time

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.4
    • Component/s: IoC System, Renderer
    • Labels:
      None

      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.

        Attachments

          Activity

            People

            Assignee:
            antranig Antranig Basman
            Reporter:
            jhung Jonathan Hung
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: