Review 12.4 Merged

80063[BUGFIX] Ensure placeholders are replaced when loading `settings.yaml`

Stefan Bürk CR +2 V +2 Easy +7 −1 updated 07/19/23, 22:30

Commit message

Site settings have been extracted from `config.yaml` with #99047
by providing a dedicated `UpgradeWizard`. Site settings are now
read from the `settings.yaml` in the site configuration folder,
if it exists.

During editing site configuration within the GUI, the deprecated
settings in the `config.yaml` has been updated. That missbehaviour
was corrected with #100162.

Before these changes, symfony yaml placeholder have been replaced
except if the SiteConfiguration have been loaded in edit context
or context needing the raw configuraiton (couple of form engine
elements). Loaded from `settings.yaml` the placeholder are not
replaced anymore.

This change now ensures that site settings loaded from the
`settings.yaml` are loaded with replacing placeholder again.
Additionally, a todo-comment is added to raise some precaution
for an eventually coming settings GUI for the `settings.yaml`.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 3

Files 1