Disallow component trees with `component_version: active`

Created on 29 July 2025, 4 days ago

Overview

@mglaman and I discovered while debugging why content exported using https://drupal.org/project/default_content but then updated manually over time didn't behave as expected. This (along with πŸ“Œ Don't allow passing uncollapsed inputs if using default expression Active ) turns out to have been the reason.

In discussing this with @larowlan, he responded:

Turns out this is largely true, but the lowest-level bits for it are still around in \Drupal\experience_builder\Plugin\Field\FieldType\ComponentTreeItem::setValue() πŸ˜… Plus a lingering config schema validation todo that points to πŸ“Œ [11.2-only] Adopt `AtLeastOneOf` validation constraint for cardinality validation Postponed .

Proposed resolution

Completely remove support for component_version: 'active'.

User interface changes

None.

πŸ“Œ Task
Status

Active

Version

1.0

Component

Data model

Created by

πŸ‡§πŸ‡ͺBelgium wim leers Ghent πŸ‡§πŸ‡ͺπŸ‡ͺπŸ‡Ί

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024