Actions
Bug #22114
closedArgument 1 passed to ux_t3lib_DB::_quoteFieldNames() must be an array, string given
Status:
Closed
Priority:
Should have
Assignee:
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
Updated by Xavier Perseguers almost 15 years ago
Committed to
- trunk (rev. 29973)
- 1-0 (rev. 29974)
Actions