Actions
Bug #60653
closedParse "exotic" select statements in parenthesis correctly
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2014-07-29
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
hard
Is Regression:
No
Sprint Focus:
Description
Currently I have the problem that the SqlParser cannot parse complex queries used in the core, e.g. in the extension manager.
For example, it fails at:
((extension_key like 'realurl') * 8 + (extension_key like '%realurl%') * 4 + (title like '%realurl%') * 2 + (author_name like '%realurl%')) as position"
The error is "SQL engine parse ERROR: No field name found as expected in parseFieldList()". This query is fired after submitting the extension search form.
I tried to hack the specific part in the code by using "parseWhereClause" but that doesn't work well, too, because it stops parsing at "* 8 + (blah blah)".
Updated by Andreas Kienast almost 10 years ago
- Status changed from New to Closed
Actions