Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 40596 invoked from network); 15 Aug 2007 21:51:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Aug 2007 21:51:52 -0000 Received: (qmail 45064 invoked by uid 500); 15 Aug 2007 21:51:49 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 44975 invoked by uid 500); 15 Aug 2007 21:51:49 -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 44965 invoked by uid 99); 15 Aug 2007 21:51:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Aug 2007 14:51:49 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Aug 2007 21:51:50 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 754AE71418F for ; Wed, 15 Aug 2007 14:51:30 -0700 (PDT) Message-ID: <30100546.1187214690465.JavaMail.jira@brutus> Date: Wed, 15 Aug 2007 14:51:30 -0700 (PDT) From: "irina fridkina (JIRA)" To: issues@commons.apache.org Subject: [jira] Commented: (CONFIGURATION-264) SubnodeConfiguration does not see reloads of its parent configuration MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CONFIGURATION-264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12520108 ] irina fridkina commented on CONFIGURATION-264: ---------------------------------------------- Can you add similar parameter to the configurationsAt() method. > SubnodeConfiguration does not see reloads of its parent configuration > --------------------------------------------------------------------- > > Key: CONFIGURATION-264 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-264 > Project: Commons Configuration > Issue Type: Bug > Affects Versions: 1.4 > Reporter: Oliver Heger > Assignee: Oliver Heger > Fix For: 1.5 > > > The problem can be reproduced as follows: > 1 config = new XMLConfiguration("c:\\conf.xml"); > 2 config.setReloadingStrategy(new FileChangedReloadingStrategy()); > 3 SubnodeConfiguration parentItemConfig = config.configurationAt("parent-item"); > 4 String ss2 = parentItemConfig.getString("sub-item"); > 5 //Now, node value changes to "new_value" > 6 ss2 = parentItemConfig.getString("sub-item"); // still returns old_value -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.