hi

this does look like a a similar issue to #10478.

could try again with a build from CVS HEAD or a recent nightly?

if this is still an issue, then could you please supply a unit test that demonstrates this bug which you are willing to donate to the ASF.

- robert

On Monday, August 25, 2003, at 02:52 PM, [EMAIL PROTECTED] wrote:

sorry i forgot to include a stacktrace. here it is:

java.lang.IllegalArgumentException: Invalid mapped property 'environment(
java'
        at
org.apache.commons.beanutils.PropertyUtils.getMappedProperty
(PropertyUtils.java:546)
        at
org.apache.commons.beanutils.PropertyUtils.getNestedProperty
(PropertyUtils.java:730)
        at
org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:
783)
        at
org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:793)


is this bug the same of bugzilla #10478??? (that bug is marked as RESOLVED...)


flavio

On Monday 25 August 2003 12:40, [EMAIL PROTECTED] wrote:
hi all,
i'm using BeanUtils.setProperty() inside my application. When property is
mapped and the key contains dots, beanutils thinks the key has nested
properties (which is non-sense to me). Is there a way to escape dots? Why
beanutils tries to access nested properties in a String-based key? Is this
a bug?


example:
environment(java.naming.factory.initial)

btw: the app is called XFP
http://xfp.sourceforge.net

-- () ascii ribbon campaign - against html mail /\ - against microsoft attachments

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



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



Reply via email to