Project

General

Profile

Actions

Bug #21502

closed

DAM-related: CONCAT operator cannot be used after LIKE

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

Status:
Closed
Priority:
Should have
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2009-11-09
Due date:
% Done:

0%

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

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)


Files

12515.diff (8.34 KB) 12515.diff Administrator Admin, 2009-11-09 16:07
Actions

Also available in: Atom PDF