Schema mismatch for default behaviour settings

Created on 29 April 2024, about 2 months ago

Problem/Motivation

After installing a site from existing config and then immediately exporting the config I get config changes in the rabbit_hole.behavior_settings.default.yml and rabbit_hole.behavior_settings.default_bundle.yml files. This doesn't happen when exporting config from a production database. This is because the rabbit_hole_post_update_entity_type_id_and_entity_id_for_existing_behavior_settings function skips the default behaviour settings and doesn't save them. Therefore schema mismatch related to entity_type_id and entity_id.

Steps to reproduce

Install an older site from existing config and then immediately export the config. Notice that the files have changed.

Proposed resolution

Write a new update hook to save the default behaviour settings.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

achap πŸ‡¦πŸ‡Ί

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

Comments & Activities

Production build 0.69.0 2024