Error when target is an array of connections

Created on 27 September 2024, 3 months ago

Problem/Motivation

When the target connection is an array of connections, instead of an associative array of connection information, the settings is not able to correctly adjust the values.

Steps to reproduce

Follow steps to create the "replica" databases:
- https://www.drupal.org/docs/drupal-apis/database-api/database-configuration β†’
Install mysql57 module
Include the mysql57 settings include
Attempt to query the "replica" database - get connection error

Proposed resolution

When adjusting the database settings, look for numeric key on the target, and if so this indicates an array of connections. Split out the task of adjusting a row, and set the value of either the single connection target, or each target in the array, to the return of the convert task.

Remaining tasks

_ Create issue fork
_ Review and test
_ Merge into dev branch

User interface changes

none

API changes

none

Data model changes

none

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States scott_earnest

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