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

InvalidReferenceEventHandler should get indication that a reference is quiet

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6.2
    • 1.7
    • Engine
    • 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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wglass William Glass-Husain
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: