Skip to content
Snippets Groups Projects
Verified Commit be95ea38 authored by Dave Long's avatar Dave Long
Browse files

Issue #3425129 by mondrake, smustgrave: Classloader needs to be registered in...

Issue #3425129 by mondrake, smustgrave: Classloader needs to be registered in Database::convertDbUrlToConnectionInfo()

(cherry picked from commit 8fb7b4a1)
parent 967264ee
No related branches found
No related tags found
7 merge requests!8376Drupal views: adding more granularity to the ‘use ajax’ functionality,!8300Issue #3443586 View area displays even when parent view has no results.,!7567Issue #3153723 by quietone, Hardik_Patel_12: Change the scaffolding...,!7565Issue #3153723 by quietone, Hardik_Patel_12: Change the scaffolding...,!7509Change label "Block description" to "Block type",!7344Issue #3292350 by O'Briat, KlemenDEV, hswong3i, smustgrave, quietone: Update...,!6922Issue #3412959 by quietone, smustgrave, longwave: Fix 12 'un' words
Pipeline #109453 passed with warnings
Pipeline: drupal

#109473

    Pipeline: drupal

    #109471

      Pipeline: drupal

      #109470

        +6
        ......@@ -585,6 +585,7 @@ public static function convertDbUrlToConnectionInfo($url, $root, ?bool $include_
        // called during regular runtime.
        $additional_class_loader = new ClassLoader();
        $additional_class_loader->addPsr4($driverNamespace . '\\', $driver->getPath());
        $additional_class_loader->register();
        $connection_class = $driverNamespace . '\\Connection';
        if (!class_exists($connection_class)) {
        throw new \InvalidArgumentException("Can not convert '$url' to a database connection, class '$connection_class' does not exist");
        ......
        0% Loading or .
        You are about to add 0 people to the discussion. Proceed with caution.
        Please register or to comment