You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Dmitri Blinov (JIRA)" <ji...@apache.org> on 2015/07/10 21:15:04 UTC

[jira] [Closed] (JEXL-161) Assignment to Indexed property is broken in 3.0

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

Dmitri Blinov closed JEXL-161.
------------------------------
       Resolution: Cannot Reproduce
    Fix Version/s: 2.1.1
                   3.0

Sorry the problem is not related to this. Everything works as expected

> Assignment to Indexed property is broken in 3.0
> -----------------------------------------------
>
>                 Key: JEXL-161
>                 URL: https://issues.apache.org/jira/browse/JEXL-161
>             Project: Commons JEXL
>          Issue Type: Bug
>    Affects Versions: 3.0
>            Reporter: Dmitri Blinov
>             Fix For: 3.0, 2.1.1
>
>
> In JEXL 2.1.1 the assignment of XML attribute to org.w3c.dom.Element via setAttribute(java.lang.String name, java.lang.String value) method worked as suggested - indexed property was resolvable and assignable. In JEXL 3.0 this is broken - unsolvable property '....' 
> By peeping to Uberspect.java I noticed that the following method 
> public JexlPropertySet getPropertySet(final Object obj, final Object identifier, Object arg) 
> does not contain any references to IndexedType class to resolve indexed property when assigning. As it works correctly in 2.1 I do not see any reason for this to be as by design, so I classify this as a bug.
> The example of JEXL script, sorry I haven't figure out how to provide full test case here:
> x = xml:child(doc, 'ConfigSet'); x.attribute.ConfigSetNo = '123'.



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