Use `mapping` instead of `sequence` in `preview.schema.yml`

Created on 19 July 2024, 4 months ago
Updated 14 August 2024, 3 months ago

Problem/Motivation

When trying to run of of the latest Drupal core update hooks system_post_update_add_langcode_to_all_translatable_config I got the following error:

AssertionError: Failed on config name 'preview.settings' in assert() (line 264 of /var/www/html/web/core/modules/system/system.post_update.php).

Steps to reproduce

1. Update to latest Drupal core 10.3.1
2. Run drush updb
3. Verify that system_post_update_add_langcode_to_all_translatable_config will fail.

Proposed resolution

I could fix that by using a mapping instead of a sequence and since we have know keys this should be fine.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany yannickoo Berlin

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