Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9E6616202 for ; Wed, 6 Jul 2011 11:51:42 +0000 (UTC) Received: (qmail 63562 invoked by uid 500); 6 Jul 2011 11:51:41 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 63063 invoked by uid 500); 6 Jul 2011 11:51:41 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 63041 invoked by uid 99); 6 Jul 2011 11:51:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jul 2011 11:51:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jul 2011 11:51:38 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id EFB6945FE8 for ; Wed, 6 Jul 2011 11:51:16 +0000 (UTC) Date: Wed, 6 Jul 2011 11:51:16 +0000 (UTC) From: "Simone Tripodi (JIRA)" To: issues@commons.apache.org Message-ID: <1376170996.3662.1309953076978.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (DIGESTER-134) Bug in SetPropertyRule MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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