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.

Issue fork crm_core-3546101

Command icon 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

amanp created an issue.