Profile field is not created for all profile types during site install from existing configuration

Created on 16 October 2023, 9 months ago

Problem/Motivation

During site install from existing configuration, not all fields are created by profile_entity_base_field_info().

My site has three profile types: A, B, & C. The following tables are created: user__profile_a, user__profile_b; however, user__profile_c is not.

This causes errors during the site installation as users cannot be loaded due to the missing table.

Following the install, it is possible to use Devel Entity Updates β†’ to install the missing table.

I believe the issue was also part of the reason for this fix #3093005: Profile computed fields may be computed before profile_type entity exists β†’ . Perhaps it is caching in the profile_type entity storage. I have seen a similar issue in Group #3118383: Site install form existing config fails with missing group plugin error β†’ .

Steps to reproduce

Install a site from existing configuration with more than three profile types.

drush si --existing-config

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom dwkitchen

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

Comments & Activities

Production build 0.69.0 2024