[ 
https://issues.apache.org/jira/browse/BEANUTILS-401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13585370#comment-13585370
 ] 

Benedikt Ritter commented on BEANUTILS-401:
-------------------------------------------

Hello smildlzj,

see my comment on [BEANUTILS-400]. Feel free to provide a patch for this.

Benedikt
                
> set array work not right in newest version
> ------------------------------------------
>
>                 Key: BEANUTILS-401
>                 URL: https://issues.apache.org/jira/browse/BEANUTILS-401
>             Project: Commons BeanUtils
>          Issue Type: Bug
>          Components: Bean / Property Utils
>    Affects Versions: 1.8.3
>            Reporter: smildlzj
>
> i have testCase like as fllow,but it have exception in newest version,but in 
> 1.6 version it's all right.
> public static void testBeanUtil() throws Exception{
>               String[] st=new String[]{"this","is"};
>               Map s1=new HashMap();
>               Map s2=new HashMap();
>               s1.put("mapProperty", s2);
>               s1.put("mappedArray", st);
>               PropertyUtils.setProperty(s1, "mapProperty.mappedArray[2]", 
> "ce");
>               Assert.assertEquals("ce", PropertyUtils.getProperty(s1, 
> "mapProperty.mappedArray[2]"));
>       }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to