You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a bit tricky to reproduce, but sometimes some configuration files are not fully written to disk. For example, roles.xml might end up like this:
Saving the settings back to disk is done on boot (so as to ensure that at least the default configuration files exist) and when certain configurations are updated. My hunch is that the XML parser implementations are not closing the output streams. These lines, for instance, look problematic, because it's not closing from the end adaptor pw and is swallowing potential I/O exceptions without even logging them. In RolesXML, the implementations of printFile and printXML also seem a bit dubious.
The text was updated successfully, but these errors were encountered:
This is a bit tricky to reproduce, but sometimes some configuration files are not fully written to disk. For example, roles.xml might end up like this:
... rather than this:
Saving the settings back to disk is done on boot (so as to ensure that at least the default configuration files exist) and when certain configurations are updated. My hunch is that the XML parser implementations are not closing the output streams. These lines, for instance, look problematic, because it's not closing from the end adaptor
pw
and is swallowing potential I/O exceptions without even logging them. In RolesXML, the implementations ofprintFile
andprintXML
also seem a bit dubious.The text was updated successfully, but these errors were encountered: