Fixed
Details
Details
Assignee
Rod Widdowson
Rod WiddowsonReporter
Rod Widdowson
Rod WiddowsonOriginal estimate
2h
Components
Fix versions
Affects versions
Created June 3, 2016 at 2:27 PM
Updated June 29, 2016 at 4:22 PM
Resolved June 8, 2016 at 4:35 PM
Spotted while reading code and confirmed by Scott.
XMLSecurityPolicyProvider implements load(boolean), and the contract is that if you implement that then you take ownership of saving the data (confusingly enough, except for the base class in which the save is implemented in the deprecated load() function.
The net result is that we never save configurations loaded via the net to local storage.
The simple fix is to call ReloadableXMLFile::load() rather then ReloadableXMLFile::load(boolean). But I think it would be better to move all the function that is in load(boolean) to background_load() and still call ReloadableXMLFile::load(). This is what XMLAccessControl and is a paradigm I find more understandable.