Uploaded image for project: 'Commons OGNL (Dormant)'
  1. Commons OGNL (Dormant)
  2. OGNL-6

When setting fields type conversion returning null falsly reports a NoSuchPropertyException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 2.6.9
    • 2.7
    • PropertyAccessors
    • None

    Description

      When calling a method, if type conversion fails (returns null), a parameter is just set to null and then the method is called.

      When setting a field, if type conversion (returns null), the field set is skipped altogether and a NoSuchPropertyException is thrown. Instead, the field should be set to null to be parallel with method calling and not report a false exception.

      Attachments

        Activity

          People

            Unassigned Unassigned
            stephenh Stephen Haberman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: