Schema mismatch for icon

Created on 29 April 2024, 7 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.71.5 2024