Do not create the domain access field when importing configuration

Created on 30 January 2024, 11 months ago
Updated 1 May 2024, 8 months ago

Problem/Motivation

When installing a site from existing configuration, [notice] Field installation failed. is shown. This is because the module's install hook attempts to install the field even though field storage is not yet available.

Steps to reproduce

$ drush -y site:install minimal && \
    drush -y en domain_menu_access && \
    drush -y config:export && \
    drush -y site:install --existing-config

Proposed resolution

Domain itself has checks to see if config is syncing, and skipping adding the fields. Let's do the same here.

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇨🇦Canada deviantintegral

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024