You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Oliver Heger (JIRA)" <ji...@apache.org> on 2016/03/24 21:13:26 UTC

[jira] [Updated] (CONFIGURATION-292) removeChild() doen't trigger auto saving

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

Oliver Heger updated CONFIGURATION-292:
---------------------------------------
    Fix Version/s:     (was: 2.0)
                   2.x

> 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: 1.4
>         Environment: I am using Nightly build dated July 19, 2007 
>            Reporter: irina fridkina
>             Fix For: 2.x
>
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)