Commons OGNL
  1. Commons OGNL
  2. OGNL-6

When setting fields type conversion returning null falsly reports a NoSuchPropertyException

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.6.9
    • Fix Version/s: 2.7
    • Component/s: PropertyAccessors
    • Labels:
      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.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Stephen Haberman
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development