You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Paul Benedict (JIRA)" <ji...@apache.org> on 2008/11/28 23:57:36 UTC

[jira] Updated: (STR-3137) Some property can be Indexed & Simple at once - PROBLEM WITH BeanUtils version 1.7.0

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

Paul Benedict updated STR-3137:
-------------------------------

    Priority: Minor  (was: Major)

> 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.2.7, 1.2.8, 1.2.9, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.3.6, 1.3.7, 1.3.8, 1.3.9
>         Environment: Windows + Tomcat
>            Reporter: Jan Vitasek
>            Assignee: Paul Benedict
>            Priority: Minor
>             Fix For: 1.4.0
>
>
> 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.