Overview

Follow-up for #3461499: Support complex SDC prop shapes: introduce (Storable)PropShape to compute field type storage settings, to fix edge cases identified in #3446722: Introduce an example set of representative SDC components; transition from "component list" to "component tree".

Specifically these edge cases:

  1. … but that revealed a limitation of the JSON encoding (which is also true of the YAML encoding): all keys are strings. But the keys were meant to be the values. Result: 50 as a choice would always be represented by '50': a string, not an integer!
  2. In debugging that, I discovered ::storageSettingsFromConfigData(), which was added ~10 years ago for addressing precisely this problem. Whew! 😅 Fix: https://git.drupalcode.org/project/experience_builder/-/merge_requests/2...

#3446722-42: Introduce an example set of representative SDC components; transition from "component list" to "component tree"

Proposed resolution

Fix1
Fix2

User interface changes

User interface changes

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

Utkarsh_33 created an issue. See original summary.

utkarsh_33’s picture

Issue summary: View changes

wim leers’s picture

wim leers’s picture

Status: Active » Reviewed & tested by the community

tedbow made their first commit to this issue’s fork.

  • tedbow committed 9a958994 on 0.x authored by Utkarsh_33
    Issue #3465981 by Utkarsh_33, Wim Leers: Follow-up for #3461499:...
tedbow’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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