Uploaded image for project: 'Velocity'
  1. Velocity
  2. VELOCITY-239

#foreach (${item} in ${list}) behavior inconsistent with #foreach ($item in $list)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.1
    • Fix Version/s: 1.5
    • Component/s: Engine
    • Labels:
      None
    • Environment:
      Operating System: other
      Platform: Other
    • Bugzilla Id:
      25669

      Description

      1) #foreach (${item} in ${list})

      2) #foreach ($item in $list)

      Is there a practical reason why the first notation fails to populate $item?

      I'm guessing it's purely a technical reason (doesn't get parsed properly,
      maybe creates a variable named "

      {item}

      " instead).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mkienenb Mike Kienenberger
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: