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); }
Updated by Gerrit Code Review about 10 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27749
Updated by Gerrit Code Review about 10 years ago
Patch set 1 for branch TYPO3_6-1 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27750
Updated by Gerrit Code Review about 10 years ago
Patch set 1 for branch TYPO3_6-0 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27751
Updated by Mathias Brodala about 10 years ago
This also affects TYPO3 4.7 and 4.5!
Updated by Markus Klein about 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 568b9bfdf1c1547844b62481d7252387a27bb896.
Updated by Riccardo De Contardi over 6 years ago
- Status changed from Resolved to Closed
Actions