Some property can be Indexed & Simple at once - PROBLEM WITH BeanUtils version
1.7.0
------------------------------------------------------------------------------------
Key: STR-3137
URL: https://issues.apache.org/struts/browse/STR-3137
Project: Struts 1
Issue Type: Bug
Components: Core
Affects Versions: 1.3.9, 1.3.8, 1.3.7, 1.3.6, 1.3.5, 1.3.4, 1.3.3, 1.3.2,
1.3.1, 1.3.0, 1.2.9, 1.2.8, 1.2.7
Environment: Windows + Tomcat
Reporter: Jan Vitasek
SOLUTION: replace bean utils 1.7.0 with 1.8.0Beta
----------------------------------------------------------------------
This problem is in Struts(BeanUtils) for a years, so I finally decided to point
to it. I wrote my own fix, but new
----------------------------------------------------------------------
PROBLEM DESCRIPTION:
There is a problem in PropertyDescriptors.
Property defined like:
private List property = new List();
public List getProperty();
public void setProperty(List);
AND
public String getProperty(int index);
public void setProperty(int index, String value);
The property described above is SIMPLE & INDEXED at one time. SO using of
expression language for "property" & "property[index]" should work at once.
The problem is in BeanUtils, which doesn't create both PropertyDescriptors and
treats with both properties in one way and suppose that combination of Simple &
Indexed property DOESN'T OCCUR.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.