commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton (JIRA)" <j...@apache.org>
Subject [jira] Commented: (BEANUTILS-359) Difference in setProperty() behavior when invoking setter with a String value that has ':'
Date Mon, 05 Oct 2009 17:06:31 GMT

    [ https://issues.apache.org/jira/browse/BEANUTILS-359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12762264#action_12762264
] 

Niall Pemberton commented on BEANUTILS-359:
-------------------------------------------

btw I added a test case (based on the one you supplied) that demonstrates both the default
behaviour and behaviour of a ArrayConverter with custom configuration:

http://svn.apache.org/repos/asf/commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/bugs/Jira359TestCase.java

> 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.1
>
>         Attachments: beanutils-test.zip
>
>
> 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