You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Jan Vitasek (JIRA)" <ji...@apache.org> on 2008/03/23 00:07:58 UTC

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

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.


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

Posted by "Jan Vitasek (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/STR-3137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Vitasek reassigned STR-3137:
--------------------------------


Need attention

> 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
>
> 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.


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

Posted by "Jan Vitasek (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/STR-3137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Vitasek reassigned STR-3137:
--------------------------------

    Assignee: Craig McClanahan

Hi can you please assign this appropriete person.
I don't know who takes care about what.

Thanks Jan

> 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: Craig McClanahan
>
> 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.


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

Posted by "Dave Newton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/STR-3137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dave Newton updated STR-3137:
-----------------------------

    Assignee:     (was: Craig McClanahan)

> 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
>
> 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.


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

Posted by "Paul Benedict (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Paul Benedict (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/STR-3137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Benedict resolved STR-3137.
--------------------------------

    Resolution: Fixed

STR-3163 upgrades to BeanUtils 1.8.0

> 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
>             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.


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

Posted by "Paul Benedict (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/STR-3137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Fix Version/s: 1.3.11
         Assignee: Paul Benedict

Is the fix just to drop in the latest BeanUtils?

> 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
>             Fix For: 1.3.11
>
>
> 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.


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

Posted by "Jan Vitasek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/STR-3137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43547#action_43547 ] 

Jan Vitasek commented on STR-3137:
----------------------------------

You can solve this issue by using the newest version of BeanUtils - 1.8.0Beta.
Older versions of BeanUtils have this bug also.

> 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
>             Fix For: 1.3.11
>
>
> 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.