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:09:44 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 ]

Niall Pemberton updated BEANUTILS-134:
--------------------------------------

    Bugzilla Id:   (was: 32162)
    Component/s: Converters

> [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
>          Components: Converters
>    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