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

Created on 24 May 2023, over 1 year ago
Updated 16 January 2024, 10 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.71.5 2024