Table prefix handling not compatible with removal of per-table prefixing

Created on 24 May 2023, about 1 year ago
Updated 16 January 2024, 6 months ago

Problem/Motivation

Per-table prefixes were deprecated in Drupal 8.2 β†’ . Drupal 10 refactors some of the code which handles table prefixes to account for this and formally deprecate the Connection instance variables that handle the per-table prefix stuff (see #3124382 β†’ ). For Drupal 10 compatibility we need to refactor our implementations of setPrefix and tablePrefix to work correctly with the parent class implementations. setPrefix should continue to interact with the prefixSearch and prefixReplace variables in setPrefix for now to maintain compatability with D9. These variables are now deprecated in D10, so we'll need to refactor setPrefix in a future issue when we drop D9 support in favour of D11 compatibility.

πŸ› Bug report
Status

Fixed

Version

4.4

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom pstewart

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

Comments & Activities

Production build 0.69.0 2024