commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "irina fridkina (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CONFIGURATION-264) SubnodeConfiguration does not see reloads of its parent configuration
Date Wed, 15 Aug 2007 21:51:30 GMT

    [ 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, <sub-item> 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.


Mime
View raw message