Invite 3.x: Mismatched entity definition for Invite Type field after update

Created on 9 April 2025, 19 days ago

Problem/Motivation

After updating to the invite module 3.x dev version, the status report shows the following error:

Mismatched entity and/or field definitions
The following changes were detected in the entity type and field definitions:
Invite – The Invite Type field needs to be updated.

This indicates a mismatch between the stored entity schema and the current field definitions.

While the issue can be resolved using the entity_update module, this requires all existing content to be deleted before running the update, which is not feasible in our case due to live data.

Steps to reproduce

  1. Install the invite module in version 1 and create invite entities.
  2. Update the module to the 3.x dev version.
  3. Check the status report at /admin/reports/status.
  4. Observe the entity/field definition mismatch error for the Invite entity.

Proposed resolution

It would be helpful if the module provided an update hook or schema adjustment that resolves this field mismatch programmatically, without requiring entity deletion. This would support seamless upgrades for sites with existing Invite data.

Remaining tasks

User interface changes

API changes

Data model changes

💬 Support request
Status

Active

Version

3.0

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024