commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32162] New: - Call to toString() in should be replaced with getConvertUtils().convert(value)
Date Wed, 10 Nov 2004 17:38:33 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32162>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32162

Call to toString() in should be replaced with getConvertUtils().convert(value)

           Summary: Call to toString() in should be replaced with
                    getConvertUtils().convert(value)
           Product: Commons
           Version: Nightly Builds
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Bean Utilities
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: eb@fullsix.com


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.

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