Overview

Discovered in #3463999: Auto-create/update Component config entities for all discovered SDCs that meet XB's minimum criteria, we need to add fieldInstanceSettings as config schema is split between field.storage_settings.* and field.field_settings.*

Proposed resolution

Add fieldInstanceSettings sibling to fieldStorageSettings in StorablePropShape, CandidateStorablePropShape and update schema + Unit Tests accordingly.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

f.mazeikis created an issue. See original summary.

wim leers’s picture

Thanks for creating this, @f.mazeikis!

This is an oversight/oversimplification I introduced in #3461499: Support complex SDC prop shapes: introduce (Storable)PropShape to compute field type storage settings: I assumed we'd only need field storage settings, but as of #3462709: Introduce `hook_storable_prop_shape_alter()`, use it to prefer the Media Library widget for "image" PropShape if Media Library is installed, we actually also need field instance settings.

wim leers’s picture

Title: Follow-up for #3461499: Add fieldInstanceSettings to (Candidate)StorablePropShape » Follow-up for #3461499: Add fieldInstanceSettings to `(Candidate)StorablePropShape` + `StaticPropSource`
Assigned: f.mazeikis » Unassigned
Status: Active » Reviewed & tested by the community

wim leers’s picture

Status: Reviewed & tested by the community » Fixed
wim leers’s picture

Component: Page builder » Config management

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.