commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boni Gopalan (JIRA)" <j...@apache.org>
Subject [jira] Created: (BEANUTILS-359) Difference in setProperty() behavior when invoking setter with a String value that has ':'
Date Sun, 30 Aug 2009 06:43:32 GMT
Difference in setProperty() behavior when invoking setter with a String value that has ':'
------------------------------------------------------------------------------------------

                 Key: BEANUTILS-359
                 URL: https://issues.apache.org/jira/browse/BEANUTILS-359
             Project: Commons BeanUtils
          Issue Type: Bug
    Affects Versions: 1.8.0
         Environment: JDK6
            Reporter: Boni Gopalan
             Fix For: 1.8.0


The behavior of BeanUtils.setProperty differes from 1.7.0 when invoking setter with a string
value that has a : or any other common seperator.

1.8.0 --> BeanUtils.setProperty(simplePojo, "jcrMixinTypes", "mix:rereferencible");  Splits
mix:referensible to new String[]{"mix","referencible"}

1.7.0 --> BeanUtils.setProperty(simplePojo, "jcrMixinTypes", "mix:rereferencible");  Splits
mix:referensible to new String[]{"mix:referencible"}

I have a failing testcase that I am atatching.  Please run with 

mvn clean test -Dbeanutils.version=1.8.0   ==>  for using 1.8.0 version 
mvn clean test -Dbeanutils.version=1.7.0  ==>  for using 1.7.0 version 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message