You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Niall Pemberton (JIRA)" <ji...@apache.org> on 2006/11/06 07:21:38 UTC
[jira] Updated: (BEANUTILS-35) [beanutils] Indexed properties with
Array type cause IllegalArgumentException in setProperty/populate
[ http://issues.apache.org/jira/browse/BEANUTILS-35?page=all ]
Niall Pemberton updated BEANUTILS-35:
-------------------------------------
Bugzilla Id: (was: 29203)
Component/s: Bean / Property Utils
> [beanutils] Indexed properties with Array type cause IllegalArgumentException in setProperty/populate
> -----------------------------------------------------------------------------------------------------
>
> Key: BEANUTILS-35
> URL: http://issues.apache.org/jira/browse/BEANUTILS-35
> Project: Commons BeanUtils
> Issue Type: Bug
> Components: Bean / Property Utils
> Affects Versions: Nightly Builds
> Environment: Operating System: All
> Platform: All
> Reporter: David Wood
> Attachments: ArrayIndexedProperty.patch, beanutils-indexed-arrays.patch
>
>
> If you attempt:
> public String[] getIndexedArrayProperty(int index)
> public void setIndexedArrayProperty(int index,String newvalue[])
> ...this will fail with an IllegalArgumentException in PropertyUtilsBean, because
> setProperty will decide to store the first element of the newvalue array rather
> than the whole array.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org