You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Biestro (JIRA)" <ji...@apache.org> on 2015/03/19 16:15:39 UTC

[jira] [Resolved] (JEXL-144) Empty array property setting fails

     [ https://issues.apache.org/jira/browse/JEXL-144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Biestro resolved JEXL-144.
--------------------------------
    Resolution: Fixed

Fixed in 3.0 a while ago

> Empty array property setting fails
> ----------------------------------
>
>                 Key: JEXL-144
>                 URL: https://issues.apache.org/jira/browse/JEXL-144
>             Project: Commons JEXL
>          Issue Type: Bug
>    Affects Versions: 2.1.1
>            Reporter: Woonsan Ko
>             Fix For: 3.0
>
>         Attachments: jexl2-empty-array-patch-2.txt, jexl2-empty-array-patch-3.txt, jexl2-empty-array-patch-4.txt, jexl2-empty-array-patch.txt, jexl3-empty-array-patch-2.txt, jexl3-empty-array-patch-3.txt, jexl3-empty-array-patch-4.txt, jexl3-empty-array-patch.txt
>
>
> 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 = [ ];



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)