Fix upgrade path warning in SocialContentBlockOverride

Created on 29 August 2023, about 1 year ago
Updated 18 September 2023, about 1 year ago

Problem/Motivation

The class reads existing config, but in the upgrade path from Open
Social 10 to 11 the config schema is changed, so the array element we're
trying to read might not exist. This causes warnings in the upgrade
path.

Steps to reproduce

Proposed resolution

We ignore the setting if it doesn't exist because it means we're working with the old config. The config override will be reloaded after the post-update cache-clear which ensures the proper override is applied.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

11.10

Component

Code (back-end)

Created by

🇳🇱Netherlands kingdutch

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024