Actions
Bug #96065
closedselectTree with ORDER BY using DBAL compatible quoting produces SQL errors
Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2021-11-24
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Steps to reproduce:
- have a
selectTree
TCA field (sys_category
for example, but it happens with other tables as well) - have a
foreign_table_where
condition containing for exampleORDER BY {#sys_category}.{#title} ASC
(or whetever your foreign table/field is), it does not matter if theforeign_table_where
contains any more conditions or just the order statement alone - open this record in the backend -> tree view is empty, saving or closing the edit panel shows red SQL error bar
Discovered on v10, probably valid on others as well.
Actions