commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@multitask.com.au
Subject Re: [beanutils] 1.6 release breaks Maven and Jelly
Date Mon, 03 Feb 2003 00:29:38 GMT
"Craig R. McClanahan" <craigmcc@apache.org> wrote on 03/02/2003 09:55:45 
AM:
> OK, it looks like the real problem is in
> o.a.c.beanutils.ConvertingWrapDynaBean -- which is using
> BeanUtils.setProperty() to perform the copy+conversion.
> 
> Unfortunately, setProperty() is specifically designed to deal with
> String->Object conversions, because it was originally there to support
> parsing bean settings out of HTTP request parameters for
> BeanUtils.populate().  As the JavaDocs say, this is probably not the
> method you normally want to use.
> 
> However, BeanUtils.copyProperty() is designed to perform general
> object->object conversions via ConvertUtils, and that sounds like what 
you
> really want.

Yep.

> I just checked in a change to this -- could you try with CVS HEAD of
> beanutils, or wait for tonight's nightly?  If that fixes the problem, we
> can probably do a 1.6.1 bugfix release (once I add some unit tests for
> this class).
I'll check it out of cvs asap and get back to you.
--
dIon Gillard, Multitask Consulting
Blog:      http://www.freeroller.net/page/dion/Weblog
Work:      http://www.multitask.com.au




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