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

References to non-public members (inner classes, fields, etc.) should log a warning rather than failing silently

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 1.3.1
    • 1.5
    • Engine
    • None
    • Operating System: other
      Platform: Other
    • 23651

    Description

      When I try to access a property on an object through the context and the
      defining class of that object is a non-public inner class the reference fails as
      if there was no object for that key in the context.

      I'd like to at least get a userful error message in the log.

      I have reproduced this with both velocity-1.3.1 and cvs HEAD as of today.

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--test.vm
          0.1 kB
          Daniel Resare
        2. ASF.LICENSE.NOT.GRANTED--VelocibugTest.java
          1 kB
          Daniel Resare

        Activity

          People

            Unassigned Unassigned
            noa@resare.com Daniel Resare
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: