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

Subsequent invalid references cannot be resolved by InvalidReferenceEventHandler.invalidGetMethod

    XMLWordPrintableJSON

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. SubsequentInvalidReferenceEventHandlerTest.java
          2 kB
          Quintin Siebers
        2. VELOCITY-800.patch
          7 kB
          Peter-Paul Kruijsen

        Activity

          People

            cbrisson Claude Brisson
            quixsilver Quintin Siebers
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: