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

[beanutils] copyProperties(List, List) does not work - pls warn about this

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.8.0
    • Bean / Property Utils
    • None
    • Operating System: All
      Platform: PC

    • 33176

    Description

      my application tries to copy a list.
      List workerList = new ArrayList();
      BeanUtils.copyProperties(workerList, msg.getAllRecip());

      the size of the ArrayList allRecip in my msg object is 6.
      After the copy, the size of the workerList remains 0.

      Sure,
      workerList.addAll(msg.getAllRecip());
      works as an alternative, but wouldn't it be appropriate to warn the user of
      copyProperties ?

      Might be related to COM-343

      Attachments

        Activity

          People

            Unassigned Unassigned
            ralfhauser Ralf Hauser
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: