diff --git a/app/availableplugins/ApiConnector/src/Controller/AppController.php b/app/availableplugins/ApiConnector/src/Controller/AppController.php index c11c4469c..9fbc89105 100644 --- a/app/availableplugins/ApiConnector/src/Controller/AppController.php +++ b/app/availableplugins/ApiConnector/src/Controller/AppController.php @@ -1,7 +1,7 @@ addPlugin(\CakeDC\OracleDriver\Plugin::class, ['bootstrap' => true]); + $app->addPlugin(\Ioigoume\OracleDriver\Plugin::class, ['bootstrap' => true]); } } catch(\Error $e) { diff --git a/app/plugins/CoreServer/src/Model/Table/SqlServersTable.php b/app/plugins/CoreServer/src/Model/Table/SqlServersTable.php index a5ad9c46f..a1f5820aa 100644 --- a/app/plugins/CoreServer/src/Model/Table/SqlServersTable.php +++ b/app/plugins/CoreServer/src/Model/Table/SqlServersTable.php @@ -162,8 +162,8 @@ public function connect(int $serverId, string $name): bool { // We don't test that the plugin is available here, an error should be thrown // when we try to connect. - $dbconfig['className'] = 'CakeDC\OracleDriver\Database\OracleConnection'; - $dbconfig['driver'] = 'CakeDC\OracleDriver\Database\Driver\OracleOCI'; // For OCI8 + $dbconfig['className'] = 'Ioigoume\OracleDriver\Database\OracleConnection'; + $dbconfig['driver'] = 'Ioigoume\OracleDriver\Database\Driver\OracleOCI'; // For OCI8 $dbconfig['quoteIdentifiers'] = true; // Use 'CakeDC\\OracleDriver\\Database\\Driver\\OraclePDO' for PDO_OCI, but CakeDC @@ -177,7 +177,7 @@ public function connect(int $serverId, string $name): bool { // correctly enables the long alias support, to we hard code that version to simplify // configuration. Note Oracle changed their release numbers to be based on calendar years, // retroactively assigning 18c (12.2.0.2) and 19c (12.2.0.3), so this approach should - // work at least for those versions. + // work at least for those versions. $dbconfig['server_version'] = 19; } } diff --git a/app/src/Model/Table/PetitionsTable.php b/app/src/Model/Table/PetitionsTable.php index 4ee4ecac6..402120408 100644 --- a/app/src/Model/Table/PetitionsTable.php +++ b/app/src/Model/Table/PetitionsTable.php @@ -150,7 +150,7 @@ public function initialize(array $config): void { 'type' => 'enum', 'class' => 'PetitionStatusEnum' ], - 'couIds' => [ + 'cous' => [ 'type' => 'select', 'model' => 'Cous' ]