[ 
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.

Reply via email to