Incorrect migration configs == breaks migration on php 8.x

Created on 6 September 2023, about 1 year ago
Updated 6 March 2024, 8 months ago

Problem/Motivation

The module ships with incorrect migration configuration for the source_module field in 2 yml files:
acquia_search/migrations/d7_acquia_search_index.yml
acquia_search/migrations/d7_acquia_search_settings.yml

The offending lines are:
source_module:
- acquia_search

Steps to reproduce

Just install the module on any php 8.1 server and migrations will no longer function as they produce this error:
TypeError: Illegal offset type in Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase->moduleExists() (line 150 of core/modules/migrate_drupal/src/Plugin/migrate/source/DrupalSqlBase.php)

Proposed resolution

These lines need to change to
source_module: acquia_search

Remaining tasks

I have attached the patch that fixes this issue.

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: duplicate

Version

3.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States crystaldawn

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

Comments & Activities

Production build 0.71.5 2024