commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (BEANUTILS-134) [beanutils] Call to toString() in should be replaced with getConvertUtils().convert(value)
Date Tue, 07 Nov 2006 04:51:38 GMT
     [ http://issues.apache.org/jira/browse/BEANUTILS-134?page=all ]

Henri Yandell resolved BEANUTILS-134.
-------------------------------------

    Resolution: Fixed

This was fixed by Niall as a part of (http://issues.apache.org/bugzilla/show_bug.cgi?id=17663).
Here's the svn commit:

r332448 | niallp | 2005-11-10 20:43:58 -0800 (Thu, 10 Nov 2005) | 1 line

Fix further issue in Bug 17663 - getArrayProperty does not use ConvertUtils - reported by
Etienne Bernard 

> [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: ConvertUtils & 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


Mime
View raw message