Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 3.0
    • Labels:
      None

      Description

      Suppose a bean has an array property setter method (e.g, public void setStrarr(String []) ).
      If I use an expression like this with an empty array, then it fails with the error message, "inaccessible or unknown property strarr".

      // example expression
      bean.strarr = [ ];

        Attachments

        1. jexl3-empty-array-patch-4.txt
          9 kB
          Woonsan Ko
        2. jexl3-empty-array-patch-3.txt
          10 kB
          Woonsan Ko
        3. jexl3-empty-array-patch-2.txt
          10 kB
          Woonsan Ko
        4. jexl3-empty-array-patch.txt
          8 kB
          Woonsan Ko
        5. jexl2-empty-array-patch-4.txt
          8 kB
          Woonsan Ko
        6. jexl2-empty-array-patch-3.txt
          9 kB
          Woonsan Ko
        7. jexl2-empty-array-patch-2.txt
          9 kB
          Woonsan Ko
        8. jexl2-empty-array-patch.txt
          7 kB
          Woonsan Ko

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              woon_san Woonsan Ko
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: