struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Morris" <>
Subject Re: Bean Utils patch for beta 1.3
Date Fri, 03 Jan 2003 22:07:54 GMT

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
have to revert back to beta 2.


David Morris

>>> 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 <>
> Reply-To: Struts Developers List <>
> To: 
> 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
> to null in this case but it isn't because of a recent change. Here is
> patch. Whoever applies this might want to look at this in context
> check for null before attempting conversion.

This bug was reported against beanutils directly: 

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

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


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message