Mismatched entity and/or field definitions

Created on 11 September 2025, 27 days ago
Updated 12 September 2025, 26 days ago

Problem/Motivation

Entity definition updates in 3078562: References to individuals do not scale and 3311470: Contact Status/EntityPublishedTrait lacked corresponding update functions to install the new field and entity type changes, resulting in `Entity/field definitions` errors on the Status report screen for existing installations.

Steps to reproduce

  1. Install `crm_core:3.x-dev#22c40d0563521f73498beeeb3a571e9350b43784`
  2. Create Individual and Organization entities
  3. Update to `crm_core:3.x-dev#53336a3aa7e8e57010724162f3f2890eb492b960` or later
  4. Visit `/admin/reports/status` to see the `Entity/field definitions` errors.

Proposed resolution

  1. Provide `crm_core_contact` update functions to update the BaseFieldDefinition settings for Individual and Organization.
  2. Provide post-update functions to apply the updates to existing entities.
🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇳🇿New Zealand amanp Poneke

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024