Closed (fixed)
Project:
Drupal core
Version:
10.0.x-dev
Component:
documentation
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
9 Apr 2014 at 17:36 UTC
Updated:
5 May 2022 at 11:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
DenEwout commentedComment #2
jhodgdonOK. Needs to be fixed in 8.x first, then backported.
Comment #3
dvandusen commentedThere is more to this.
The problem as I can see from the code is that several modules are involved in the database query that attempt to use the primary default database, and these fail when the default has been changed during the call to, for instance, db_select. To fix that, the call to getConnection from db_select must provide the information needed, without switching out of the connection with the default db.
see https://drupal.org/node/18429#comment-8857521
D
Comment #14
quietone commentedPerhaps adding a sentence and an @see about using setActiveConnection would resolve this.
Comment #15
larowlanComment #16
larowlanAssuming bot agrees
Comment #17
quietone commentedThis is adding documentation, not fixing "incorrect or misleading documentation', so changing to a task.
Comment #20
catchCommitted/pushed to 10.0.x and cherry-picked to 9.4.x, thanks!