Project

General

Profile

Actions

Bug #22114

closed

Argument 1 passed to ux_t3lib_DB::_quoteFieldNames() must be an array, string given

Added by Xavier Perseguers almost 15 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Should have
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2010-02-13
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Some extensions use

DISTINCT

instead of

DISTINCT field

in their queries. This is valid for MySQL because it allows user not to care very much about standard SQL but it's not for DBAL. Problem arises in method quoteFieldNames which lacks to check that the parsed list of fields could in fact be properly parsed before sending the array of fields to _quoteFieldNames which explicitly expects an array as argument. If an error was found, the content is a string containing an error message.

(issue imported from #M13528)


Files

13528.diff (578 Bytes) 13528.diff Administrator Admin, 2010-02-13 10:30
Actions #1

Updated by Xavier Perseguers almost 15 years ago

Committed to

- trunk (rev. 29973)
- 1-0 (rev. 29974)

Actions

Also available in: Atom PDF