oveits / ProvisioningEngine

Ruby on Rails based ProvisioningEngine Frontend for provisioning of legacy systems via Apache Camel Backend (SOAP/XML+SPML+File import)
3 stars 6 forks source link

Automatically created SystemSetting is set to "f" instead of "false" in case no corresponding environment variable exists #38

Closed oveits closed 8 years ago

oveits commented 8 years ago

In case we use the code SystemSetting.whatever somewhere, we auto-create a SystemSetting with name "WHATEVER". If an environment variable WHATEVER exists, the value is synchronized with this environment variable. If it does not exist, we want to set "false" as a String, i.e. in the same format the environment variables are defined. By error, I had set the value to false as a boolean. This then is saved as "f" instead of "false" in the table.