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 19781] - PropertyUtils.copyProperties throws exceptions contrary to documentation
Date Wed, 21 May 2003 20:46:39 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19781>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19781

PropertyUtils.copyProperties throws exceptions contrary to documentation





------- Additional Comments From rdonkin@apache.org  2003-05-21 20:46 -------
this report has a lot of content! it might be difficult in buzilla to unrevel
all these issues (the mailing list would probably be a better place to discuss
at least some of them)...

anyway - here's something to get started with:

"C) If a property of the same name but of different type exists on both beans, 
also treat the property as a non-copied property - it isn't the same unless it 
has the same type."

here, i disagree. BeanUtils.copyProperties is specifically intended to do useful
things with types which don't quite match. PropertyUtils contains a method which
no type conversion and users could use that if they don't want this behaviour.

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