Schema mismatch for icon

Created on 29 April 2024, 2 months ago

Problem/Motivation

After installing my site from existing config and then exporting the config without making any changes my embed.button.node.yml file shows changes. This does not occur during a regular config export with a production database. That suggests to me a schema mismatch between update hooks and installed schema. In the embed_post_update_convert_encoded_icon_data function I was able to see that most of the code is never executed because icon_uuid value is NULL for all my buttons. Therefore it looks like the config is never saved hence the mismatch.

Steps to reproduce

Try installing an older site from existing config, then immediately export the config to see if there are changes.

Proposed resolution

Write an update hook to fix the mismatch.

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