Field definitions mismatch problem in 2.x

Created on 22 January 2025, 3 months ago

Problem/Motivation

The website status report page shows the "Entity/field definitions" error for the Site Setting entity.

This problem was fixed in the related issue #3463953 for those, who had not installed the module or run any module updates. However, those who have already run the site_settings_post_update_1_make_revisionable post update, the following error is shown:

Mismatched entity and/or field definitions

The following changes were detected in the entity type and field definitions.
Site Setting
The Revision log message field needs to be installed.
The Revision log message field needs to be uninstalled.
The Publishing status field needs to be updated.

Steps to reproduce

Go to the /admin/reports/status page and check for the problems with the field definitions.

Proposed resolution

Add a separate post_update with the changes to affect only those users, who have already run the
site_settings_post_update_1_make_revisionable previously.

User interface changes

The definition mismatch problem is gone for all websites.

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine EvilArgest

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