Currently we remove configurations from the db that were installed from a cfg if their cfg has been deleted. We can tell if a configuration has been installed by a cfg because of the "felix.fileinstall.filename" property. However, we also add this property to factory configurations made through the UI. This results in factory configurations being deleted on server restart if there is no corresponding cfg file.
Steps to reproduce:
- Go to System Settings > Any factory configuration (LDAP Import)
- Change any setting (Import Interval from 10 > 200)
- Restart portal
Expected result: The setting is still changed (Import Interval = 200)
Actual Result: The setting has been reset to its original value (Import Interval = 10)