Issue Bug Closed

#21502DAM-related: CONCAT operator cannot be used after LIKE

Xavier Perseguers 11/09/09, 14:11 updated 11/24/09, 23:13

Description

When using DAM and trying to edit properties of a document, TYPO3 dies with “Cound not parse where clause in /path/to/class.ux_t3lib_db.php”.

This is related to DAM issuing a query like that:

$GLOBALS[‘TYPO3_DB’]->exec_SELECTquery(
‘*’,
‘sys_refindex, tx_dam_file_tracking’,
‘sys_refindex.tablename = \‘tx_dam_file_tracking\’ AND sys_refindex.ref_string LIKE CONCAT’
);

SQL parser expects a single value after LIKE operator.

(issue imported from #M12515)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.