Bug #76991

Scheduler does not work with ADOdb

Added by Jan Pascal Maas over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Must have
Assignee:
-
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2016-07-07
Due date:
% Done:

100%

TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

After installing the scheduler extension on current Typo3 7 LTS, everything seemed fine, until I tried to open the BE-Module. Got the following error:

#1: PHP Catchable Fatal Error: Argument 1 passed to TYPO3\CMS\Dbal\Database\DatabaseConnection::_quoteGroupBy() must be of the type array, string given, called in [...]/typo3/sysext/dbal/Classes/Database/DatabaseConnection.php on line 1875 and defined in [...]/typo3/sysext/dbal/Classes/Database/DatabaseConnection.php line 1886

I tried the workarounds discussed (https://wiki.typo3.org/Exception/CMS/1), but none worked. Experienced this failure on two different machines running PHP 5.6 and Postgres 9.4.

Steps to reproduce:

1) Install scheduler Extension in EM
2) Open Scheduler BE-Module

Associated revisions

Revision 1b702054 (diff)
Added by Morton Jonuschat over 1 year ago

[BUGFIX] Scheduler: Add missing GROUPBY to exec_SELECT_queryArray calls

Add GROUPBY key to the query arrays passed to exec_SELECT_queryArray
calls to fix queries when used with EXT:dbal / EXT:adodb.

Change-Id: Ie8904f276215a424f32515220480731f9e07c537
Releases: 7.6
Resolves: #76991
Reviewed-on: https://review.typo3.org/49768
Reviewed-by: Wouter Wolters <>
Tested-by: Wouter Wolters <>

History

#1 Updated by Riccardo De Contardi over 1 year ago

  • Category set to Database API (Doctrine DBAL)

#2 Updated by Gerrit Code Review over 1 year ago

  • Status changed from New to Under Review

Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49768

#3 Updated by Gerrit Code Review over 1 year ago

Patch set 2 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49768

#4 Updated by Morton Jonuschat over 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF