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

Subsequent invalid references cannot be resolved by InvalidReferenceEventHandler.invalidGetMethod

    Details

      Description

      If $foo is a java.lang.String and a template tried to do $foo.bar, one can use an InvalidReferenceEventHandler to resolve bar into a value. However, if the template tries to do $foo.bar.baz, the last part cannot be resolved using an InvalidReferenceEventHandler. I'll attach an example test case.

        Attachments

        1. VELOCITY-800.patch
          7 kB
          Peter-Paul Kruijsen
        2. SubsequentInvalidReferenceEventHandlerTest.java
          2 kB
          Quintin Siebers

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              quixsilver Quintin Siebers
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: