Project

General

Profile

Actions

Bug #21147

closed

t3lib_sqlparser is not able to parse alias of a joined table

Added by Xavier Perseguers almost 15 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2009-09-28
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

See bug #17072 for an old problem related to this and more recently, with feeditadvanced, having DBAL installed makes use of Core's SQL parser and gives this error:

DBAL fatal error: No handler found in handler_getFromTableList() for: "sys_lockedrecords AS locks LEFT JOIN be_users AS user ON locks.userid=user.uid" (SQL engine parse ERROR: No join fields found in parseFromTables()!: near "user ON locks.userid=user.uid ")

It could be possible to remove the alias part of the join in the corresponding query ("AS user") and this would work but I find it more useful to make the Core SQL parser a bit more powerful.

(issue imported from #M12071)


Files

12071.diff (1.35 KB) 12071.diff Administrator Admin, 2009-09-28 21:51
12071_v3.diff (2.01 KB) 12071_v3.diff Administrator Admin, 2009-10-01 08:18
Actions #1

Updated by Oliver Hader almost 15 years ago

Committed to SVN Trunk (rev. 6082)
Still pending for TYPO3_4-2 and TYPO3_4-1

Actions #2

Updated by Christian Kuhn about 14 years ago

Resolved in 4.3.0beta1

This won't go to 4.1 / 4.2 any longer.

Actions

Also available in: Atom PDF