When using Domain module the options displayed in the plugins are always from the last form we saved

Created on 3 February 2023, over 1 year ago

Problem/Motivation

We are using Domain module in our site, and we have 2 different Domain Records. For each domain, we have different settings. e.g. Background: blue, gray for Domain 1
Background: yellow, pink for Domain 2

When the "Remember domain selection" is checked on /admin/config/domain/config-ui, if I edit DOmain 2 options last and access Domain 1 and try to edit Layout styles, the options displayed are Yellow and Pink instead of Blue and Gray.

Proposed resolution

Update the StylePluginBase::getStyleOptions to not use the getEditable and use $this->configFactory->get(static::CONFIG);

πŸ› Bug report
Status

Active

Version

1.1

Component

Code

Created by

πŸ‡§πŸ‡·Brazil carolpettirossi Campinas - SP

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

Comments & Activities

Production build 0.69.0 2024