Feature #17372
closedt3lib_pageSelect::enableFields not usable with table Aliases
0%
Description
Right now its not possible to use a table alias like " SELECT * FROM tt_content AS c ..." in combination with the method enableFIelds.
because the query will result in something like this:
"SELECT * FROM tt_content AS c WHERE ... AND tt_content.deleted = 0 .."
This query will result in the SQL errror:
"ERROR 1109: Unknown table 'tt_content' in where clause"
added a patch
(issue imported from #M5770)
Files
Updated by Simon Schaufelberger almost 13 years ago
- Target version deleted (
0)
this is a must have!
check in the function for the TCA of the table but use the alias in the sql.
Updated by Alexander Opitz almost 10 years ago
- Description updated (diff)
- Status changed from New to Needs Feedback
Hi,
does the problem still exists within newer versions of TYPO3 CMS (6.2.9)?
Updated by Alexander Opitz over 9 years ago
- Status changed from Needs Feedback to Closed
No feedback within the last 90 days => closing this issue.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.