- Issue created by @nterbogt
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
So this isn't an issue on 10.1?
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
If so I think we can use the new BC layer - https://www.drupal.org/node/3379306 β if we make the code to derive the pdo class an anonymous function
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
Hmm I'm seeing this in the connection factory
if (empty($info['namespace']) || str_starts_with($info['namespace'], 'Drupal\\Core\\Database\\Driver\\')) { switch (strtolower($info['driver'])) { case 'mysql': $info['namespace'] = 'Drupal\\mysql\\Driver\\Database\\mysql'; break; case 'pgsql': $info['namespace'] = 'Drupal\\pgsql\\Driver\\Database\\pgsql'; break; case 'sqlite': $info['namespace'] = 'Drupal\\sqlite\\Driver\\Database\\sqlite'; break; } }
which seems to indicate they're still string
π€ I confirm we have the same issue in our unit tests. We use different db drivers in our project. And after upgrading to 10.2.1, test that use different dib drivers are no longer working in our project. Would be nice to give it a priority or provide a fix. In our case sparql driver doesn't work anymore.
Regards
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
Is this test specific?
I've seen it in tests but can't find the source of it - π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
https://git.drupalcode.org/project/entity_hierarchy/-/jobs/630574 showing a failing test for entity_hierarchy with this issue
- Status changed to Needs review
8 months ago 10:44pm 31 January 2024 - last update
8 months ago 2 pass - π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
Its ugly, but something like this?
- last update
8 months ago run-tests.sh fatal error -
larowlan β
committed e3bf17ee on 2.x
Issue #3400406 by larowlan, nterbogt, ansergeyg: Driver is class name in...
-
larowlan β
committed e3bf17ee on 2.x
-
larowlan β
committed 805724b4 on 8.x-1.x
Issue #3400406 by larowlan, nterbogt, ansergeyg: Driver is class name in...
-
larowlan β
committed 805724b4 on 8.x-1.x
- Status changed to Fixed
8 months ago 9:38pm 14 February 2024 - π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
Committed to 8.x-1.x and c/p to 2.x
Automatically closed - issue fixed for 2 weeks with no activity.