Actions
Bug #56135
closedException in listQuery in DatabaseConnection never thrown
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Database API (Doctrine DBAL)
Target version:
Start date:
2014-02-20
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:
Description
The condition should check for comma in $value in the method listQuery. This will not work because the parameters of strpos are in wrong order.
It need to be:
strpos($haystack, $needle)
but we have:
strpos($needle, $haystack)
if (strpos(',', $value) !== FALSE) { throw new \InvalidArgumentException('$value must not contain a comma (,) in $this->listQuery() !', 1294585862); }
Actions