commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Tripodi (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (DIGESTER-134) Bug in SetPropertyRule
Date Wed, 06 Jul 2011 11:51:16 GMT

     [ https://issues.apache.org/jira/browse/DIGESTER-134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Simone Tripodi closed DIGESTER-134.
-----------------------------------


included in Apache Commons Digester 3.0 release

> Bug in SetPropertyRule
> ----------------------
>
>                 Key: DIGESTER-134
>                 URL: https://issues.apache.org/jira/browse/DIGESTER-134
>             Project: Commons Digester
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Alexander Krasnukhin
>            Assignee: Simone Tripodi
>             Fix For: 3.0
>
>
> In method begin(Attributes attributes) there seems like something wrong there:
> if (name.equals(this.name)) {
>                 actualName = value;
> } else if (name.equals(this.value)) {
>                 actualValue = value;
> }
> But actually must me fixed this way:
> if (name.equals(this.name)) {
>                 actualName = name;
>                 actualValue = value;
>                 break;
> }
> It wont work without that fix. I tested.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message