Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.8.3
-
None
Description
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[]
;
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]"));
}
Attachments
Issue Links
- requires
-
BEANUTILS-376 Supporting indexed (mapped) properties of Map objects
- Reopened