You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2006/10/31 09:23:20 UTC

[jira] Updated: (BEANUTILS-134) [beanutils] Call to toString() in should be replaced with getConvertUtils().convert(value)

     [ http://issues.apache.org/jira/browse/BEANUTILS-134?page=all ]

Henri Yandell updated BEANUTILS-134:
------------------------------------

      Bugzilla Id:   (was: 32162)
    Fix Version/s: 1.8.0

I think this should be dealt with in 1.8.0.

> [beanutils] Call to toString() in should be replaced with getConvertUtils().convert(value)
> ------------------------------------------------------------------------------------------
>
>                 Key: BEANUTILS-134
>                 URL: http://issues.apache.org/jira/browse/BEANUTILS-134
>             Project: Commons BeanUtils
>          Issue Type: Bug
>    Affects Versions: Nightly Builds
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Etienne Bernard
>             Fix For: 1.8.0
>
>
> In BeanUtilsBean#getArrayProperty(Object, String) line 577 (in the CVS version),
> we should have:
>   results[0] = getConvertUtils().convert(value);
> instead of:
>   results[0] = value.toString();
> Rationale: the struts html taglibs doesn't work correctly with my objects with
> the  correct Converters registered.

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