Wrong namespace used for core's MySql schema class

Created on 1 May 2025, 1 day ago

Problem/Motivation

The Drupal\dbxschema_mysql\Database\Schema class extends Drupal core's MySql schema class, but this currently results in a fatal error due to a wrong namespace used:

use Drupal\mysql\Database\Driver\mysql\Schema as MySchema;

Core's class uses this namespace: Drupal\mysql\Driver\Database\mysql (see different positions of Database and Driver).

Steps to reproduce

  • Check use statement for core's MySql schema class in Drupal\dbxschema_mysql\Database/Schema class file and compare to core's MySql schema class namespace

Proposed resolution

  • Fix use statement to use correct namespace

Remaining tasks

  • Create issue fork and MR to fix this issue

User interface changes

n/a

API changes

n/a

Data model changes

n/a

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇩🇪Germany hctom

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