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
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.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]