fix: #3620712 Re-export the stale Canvas component configs against the current theme
Issue: https://www.drupal.org/i/3620712
Re-exports the eight Canvas component configs whose active prop sets had fallen behind the theme's Single Directory Components. When Canvas configuration sets one of the newer props, config import rejects the value and the whole site install aborts. The failure is invisible to CI, because CI does not install the template from released Composer constraints.
The error, hit by setting icon_color on the Icon Toggle component:
In JsonSchemaPropsComponentSourceBase.php line 215:
'icon_color' is not a prop on this version of the Component
'Single-directory component: Icon Toggle'.What changed
| Component | active_version | Props gained |
|---|---|---|
| divider | 62f9294bba931609 to 3351739a2f3f46b5 |
text, text_size |
| figure | 8fe3be948e0194e1 to 0a31ebc5be5d97a1 |
align, background_color, description, description_color, description_size, number, number_color, number_size |
| icon-toggle | 89c883e11d4f832c to ab1b678dc1806d89 |
expand_in_editor, icon_color |
| section | 4171719f53c41b9d to 038d91867e142dd2 |
column_divider, column_divider_color |
| share | 64add9738be2892f to 24d3cc5800d6bb4f |
heading_level |
| tabs | ead44d287f956a39 to 2aeb2885f8b90977 |
active_bg, active_color, border_color, tabs_id |
| taxonomy | b55691286f078649 to 97e8c86a10cc155f |
color, justify_content, no_padding |
| text | c4ddb22de87220b3 to 34499abda8277068 |
opacity |
No props and no historical version keys are removed. Every previously declared version is preserved, so content pinned to an older version still resolves. Re-exported with Drupal's own YAML encoder from an installed site, minus uuid and _core, so the formatting matches the existing files.
Why eight and not nineteen
Comparing the theme's SDC prop sets against the recipe's shipped active prop sets flags nineteen components. Eleven of those are fallback components that store no prop_field_definitions at all, so the comparison reports a difference where there is nothing to change. All nineteen were re-exported and then byte-diffed against the branch: eleven came back identical and were reverted, eight genuinely changed. Confirm with a byte diff before trusting a prop-set diff.
Verification
Built on drupal/varbase_project:11.0.x-dev (ddev composer require drupal/rightup:1.0.x-dev -W), Drupal 11.4.6.
- Fresh install with this change: exit 0.
- The same install without it, once Canvas config sets
icon_color: exit 1 on the error above. - Baseline held: default theme
vartheme_bs5_rightup, 12 blog + 2 page nodes, 5 Canvas pages, 59 media, 85 RightUp SDC components, 0 error-severity watchdog rows, all Canvas and article pages 200.
AI-Generated: Yes
Checkpoints:
- File an issue
- Addition/Change/Update/Fix
- Testing to ensure no regression
- Automated unit testing coverage
- Automated functional testing coverage
- UX/UI designer responsibilities
- Readability
- Accessibility
- Performance
- Security
- Developer Documentation
- User Guide Documentation
- Reviewed by human
- Code review by maintainers
- Full testing and approval
- Credit contributors
- Review with the product owner
- Release notes snippet
- Release