_drupal_bootstrap_database() does not respect the multiple slave db structure in $databases, when initializing prefixes for test

Created on 20 January 2013, over 11 years ago
Updated 20 May 2024, 4 months ago

The following tests will throw exceptions if multiple db slave servers are configured in settings.php

  • SELECT TESTS, COMPLEX 2
  • PAGER QUERY
  • TABLESORT QUERY

The reason is that the initial prefix handling during test, does not respect the $databases structure.

Patch coming up ...

πŸ› Bug report
Status

Needs work

Version

7.0 ⚰️

Component
BaseΒ  β†’

Last updated 16 minutes ago

Created by

πŸ‡©πŸ‡°Denmark gielfeldt

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024