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

          Mark Thomas made changes -
          Workflow Default workflow, editable Closed status [ 12551629 ] jira [ 12552508 ]
          Mark Thomas made changes -
          Workflow jira [ 12479677 ] Default workflow, editable Closed status [ 12551629 ]
          Will Glass-Husain made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Will Glass-Husain made changes -
          Fix Version/s 1.7 [ 12313453 ]
          Will Glass-Husain made changes -
          Field Original Value New Value
          Link This issue is related to VELOCITY-739 [ VELOCITY-739 ]
          Will Glass-Husain created 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