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=33176>.
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=33176

           Summary: copyPropertes(List, List) does not work - pls warn about
                    this
           Product: Commons
           Version: unspecified
          Platform: PC
               URL: http://cvs.apache.org/viewcvs.cgi/jakarta-
                    commons/beanutils/src/java/org/apache/commons/beanutils/
                    BeanUtilsBean.java?rev=1.17&view=markup
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Bean Utilities
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


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

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to