[ 
https://issues.apache.org/jira/browse/CONFIGURATION-292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

irina fridkina updated CONFIGURATION-292:
-----------------------------------------

    Description: 
When I remove nodes from the XMLConfiguration with autoSave enabled the file 
doesn't change. Here is an example 

XMLConfiguration config = new XMLConfiguration("c:\\conf.xml"); 
config.setAutoSave(true) ; 
ConfigurationNode parentNode = config.getRootNode();
parentNode.removeChild(childName);

config.xml didn't change to reflect the changes


  was:
When I remove nodes from the XMLConfiguration with autoSave enabled the file 
doesn't change. Here is an example 

XMLConfiguration config = new XMLConfiguration("c:\\conf.xml"); 
config.setAutoSave(true) ; 
ConfigurationNode parentNode = config.getRootNode();
parentNode.removeChild(childName);

config.xml didn't change to reflect the chanes



> removeChild() doen't trigger auto saving
> ----------------------------------------
>
>                 Key: CONFIGURATION-292
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-292
>             Project: Commons Configuration
>          Issue Type: Bug
>    Affects Versions: Nightly Builds
>         Environment: I am using Nightly build dated July 19, 2007 
>            Reporter: irina fridkina
>
> When I remove nodes from the XMLConfiguration with autoSave enabled the file 
> doesn't change. Here is an example 
> XMLConfiguration config = new XMLConfiguration("c:\\conf.xml"); 
> config.setAutoSave(true) ; 
> ConfigurationNode parentNode = config.getRootNode();
> parentNode.removeChild(childName);
> config.xml didn't change to reflect the changes

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