Uploaded image for project: 'Commons BeanUtils'
  1. Commons BeanUtils
  2. BEANUTILS-134

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Nightly Builds
    • 1.8.0
    • None
    • Operating System: other
      Platform: Other

    • 32162

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            eb@fullsix.com Etienne Bernard
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: