Craig,

I pulled the head version of beanutils as of a few minutes ago for 
bean utils and rebuilt my projects and Struts. Your patch with the 
debugging change and null test seem to be working. Unfortunately, 
I still am seeing struts tags pull values in some cases from the wrong

bean. I will look into that today if I get some time -- I really want
to 
have to revert back to beta 2.

Thanks,

David Morris

>>> [EMAIL PROTECTED] 01/03/03 02:24PM >>>


On Fri, 3 Jan 2003, David Morris wrote:

> Date: Fri, 03 Jan 2003 13:55:54 -0700
> From: David Morris <[EMAIL PROTECTED]>
> Reply-To: Struts Developers List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED] 
> Subject: Bean Utils patch for beta 1.3
>
> One of the errors I found in Beta 1.3 was caused when a null source
> value is passed to the BeanUtils class. The target value should be
set
> to null in this case but it isn't because of a recent change. Here is
a
> patch. Whoever applies this might want to look at this in context
and
> check for null before attempting conversion.
>

This bug was reported against beanutils directly:

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

and I just checked in a fix for it (more comprehensive than your fix
below
because there were a couple of other failure scenarios as well). 
Could
you download tonight's (20030104) commons-beanutils distro and replace
commons-beanutils.jar to see if it fixes the problem for you?

 
http://jakarta.apache.org/builds/jakarta-commons/nightly/commons-beanutils


If it does, we'll probably need to post a note on the download page
with a
pointer to the replacement library.

Craig

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

Reply via email to