Affects Version/s: None
Fix Version/s: 1.3
The introduction of PropertiesConfigurationLayout broke the saving of in memory created PropertesConfiguration.
This piece of code will yield empt saved file:
PropertiesConfiguration pc = new PropertiesConfiguration();
The problem is that no PropertiesConfigurationLayout is created and EVENT_ADD_PROPERTY is lost.
Then when saving, an empty PropertiesConfigurationLayout is created and nothing is saved in output file.
Added creation of PropertiesConfigurationLayout to PropertiesConfiguration() contructor, changed setLayout() to enforce that only one layout per PropertiesConfiguration must exist and added a testcase for this condition.