Mismatched entity and/or field definitions on Status report

Created on 27 February 2025, about 1 month ago

Problem/Motivation

The 'Status report' on /admin/reports/status gives the following message under 'Status details / Errors found':

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

    Workflow scheduled transition
  • The From state field needs to be updated.
  • The To state field needs to be updated.
    Workflow transition
  • The From state field needs to be updated.
  • The To state field needs to be updated.

Steps to reproduce

- install Workflow 8.x-1.0
- update to Workflow 8.x-1.8 or higher (or lower)
- check the report

Proposed resolution

This is because changes/improvements are done on the Workflow Fields.
However, changes schema/field definitions are not (completely) supported by Drupal core.

See for example core issue 🐛 Stale field settings used by options_allowed_values prevents widgets from updating the allowed values. Needs work

Remaining tasks

- update the schema/field definition.
- See function WorkflowTransition::baseFieldDefinitions();
- See function WorkflowItem::propertyDefinitions() and the settingsForm;

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Miscellaneous

Created by

🇳🇱Netherlands johnv

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

Comments & Activities

Production build 0.71.5 2024