Bug #25489
closed
Added by Patrick Schriner over 13 years ago.
Updated about 6 years ago.
Category:
Database API (Doctrine DBAL)
Description
DBAL wrongly quotes ORBER BY {NUMBER}.
The patch checks whether for this ORDER BY there is no TABLE, and the FIELD is just a number.
This causes issues with Extbase, as Extbase is using such queries.
Files
ORDER BY {number} successfully tested with MSSQL
ORDER BY {number} successfully tested with Oracle
My "failure" case was using ADODB + MySQL.
Patch set 1 of change I4e0f8ecd265c3bde3f1da59b1ea53de8382c11b5 has been pushed to the review server.
It is available at http://review.typo3.org/1505
- Status changed from New to Accepted
- Assignee set to Xavier Perseguers
- Target version set to 1.2.3 (TYPO3 4.5.x)
Patch set 1 of change I0978b0aa72489dbc415455c01a391eab24d142f4 has been pushed to the review server.
It is available at http://review.typo3.org/1542
Patch set 2 of change I4e0f8ecd265c3bde3f1da59b1ea53de8382c11b5 has been pushed to the review server.
It is available at http://review.typo3.org/1505
- Status changed from Accepted to Resolved
- % Done changed from 0 to 100
Thanks for the quick handling of this patch!
- Project changed from 329 to TYPO3 Core
- Target version deleted (
1.2.3 (TYPO3 4.5.x))
- Status changed from Resolved to Closed
Also available in: Atom
PDF