Velocity
  1. Velocity
  2. VELOCITY-740

InvalidReferenceEventHandler should get indication that a reference is quiet

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.2
    • Fix Version/s: 1.7
    • Component/s: Engine
    • Labels:
      None

      Description

      Right now the InvalidReferenceEventHandler is called for bad references whether they are quiet or not. The reference is passed as "$abc" even if the template actually contains "$!abc".

      Typically, you'd want to ignore invalid references. We should fix this to pass "$!abc" instead of $abc.

      It's not a hard fix – anyone mind if I change this? Technically, it's a break in backwards compatibility but a pretty minor one. It will still get called but with an indication the reference is quiet.

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              Will Glass-Husain
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development