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

org.springframework.beans.BeanUtils.copyProperties(dest,target) must not auto init number Wrapper Class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.8.3
    • None
    • Bean / Property Utils
    • None
    • jdk1.7 eclipse

    Description

      Necessary to prohibit org.apache.commons.beanutils.BeanUtils.copyProperties (dest, source) method automatic initial the wrapper class type value, because this will cause ambiguity, normally if source property is Integer and value is null,after copied this property​,target object property must not auto init to 0, this will generate an error of logic, analog spring of org.springframework.beans.BeanUtils would not use of this error logical

      Attachments

        Activity

          People

            Unassigned Unassigned
            andory jiangbin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: