Install fails if the stored config contains a GraphQL Server

Created on 13 February 2023, almost 2 years ago
Updated 17 October 2023, about 1 year ago

Problem/Motivation

Install results in the following error.

>  [warning] Undefined variable $graphql_server acquia_perz.install:27
Error: Call to a member function id() on null in acquia_perz_install() (line 27 of /mnt/www/html/mskccdev/docroot/modules/contrib/acquia_perz/acquia_perz.install).
>  [error]  Error: Call to a member function id() on null in acquia_perz_install() (line 27 of /mnt/www/html/mskccdev/docroot/modules/contrib/acquia_perz/acquia_perz.install) #0 [internal function]: acquia_perz_install()

Steps to reproduce

  1. Isolate the module into a Config Split set
  2. Move a db from an environment in which the Config Split set is enabled to one in which it is not.
  3. Move the db again to an environment in which the Config Split set is enabled again.

Proposed resolution

Adjust the install hook to account for the possibility that the GraphQL Server exists

Remaining tasks

None

User interface changes

None

API changes

None

Data model changes

None

πŸ› Bug report
Status

Closed: won't fix

Version

4.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States fathershawn New York

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

Comments & Activities

Production build 0.71.5 2024