Mismatched entity and/or field definitions after 1.8 update

Created on 29 April 2023, over 1 year ago
Updated 8 May 2023, over 1 year ago

Problem/Motivation

After updating from version 1.7 to 1.8, the status report page shows this error:

Mismatched entity and/or field definitions
The following changes were detected in the entity type and field definitions.
Content

The node.field_ps_people_office_hours field needs to be updated.

In my case, that's the field name of an Office Hours field on one of my content types.

I suppose the field definition was changed in code in this most recent release, but no update hook was added to update the field schema?

Steps to reproduce

Have an existing site on version 1.7, then use composer to update to 1.8 and visit status report page.

Proposed resolution

Need an update hook that uses the EntityDefinitionUpdateManager service to update existing field schemas.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bkosborne New Jersey, USA

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

Comments & Activities

Production build 0.71.5 2024