Nothing really big, but I ran into a small issue using
site_settings:import and it bit me hard.
There is an easy 'n ugly workaround (run the rake task twice) but this is typically something that is being run unattended so I did not see the error at first.
(Part of) exported settings file (
sso_overrides_email: 'true' email_editable: 'false'
Importing that file into another forum:
ERROR: sso_overrides_email: You must disable 'email editable' before enabling this setting. Changed email_editable FROM: t TO: false
The second run does of course pick up the setting:
Changed sso_overrides_email FROM: f TO: true
- Live with it and just run the import rake task twice
- Export settings in
- Have the rake task run the import twice
- Disable this kind of checks when importing from a file