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.
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | 3501378-field-definitions-mismatch-10.patch | 3.33 KB | evilargest |
| #5 | 3501378-field-definitions-mismatch-5.patch | 4.08 KB | evilargest |
Issue fork site_settings-3501378
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #5
evilargest commentedComment #6
scott_euser commentedThanks for the contribution (and apologies you had to deal with it in the first place!). Happy to merge this, just needs the minor phpcs/cspell nitpicks resolved.
Comment #7
evilargest commentedThe pipelines are green now
Comment #9
evilargest commentedUpdating the patch
Comment #10
evilargest commentedwhoops, that was not a plain diff
Comment #12
scott_euser commentedThanks both!