[2.0.0-beta2] Wrong component ID in stories

Created on 31 July 2024, 4 months ago
Updated 15 September 2024, 2 months ago

Problem/Motivation

The migration process (drush upm) doesn't need the theme to be activated except for the "preview to story" task which is loading already migrated SDC components.

For example, if only ui_suite_uswds is activated and we run drush upm ui_suite_bootstrap, the migrtaion will run well but for each call to component render element in stories if the component exists in both ui_suite_uswds and ui_suite_bootstrap, ui_suite_uswds one will be called instead of ui_suite_bootstrap.

Proposed resolution

Test if the theme is not activated before running the migration, stop the process and print a message.

πŸ“Œ Task
Status

Fixed

Version

2.0

Component

UI Patterns Legacy [2.x only]

Created by

πŸ‡«πŸ‡·France pdureau Paris

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