Issue Bug Closed

#20400DBAL does not support CLOB/BLOB when using a mapped table name

Xavier Perseguers 05/07/09, 16:42 updated 08/06/10, 13:28

Description

When dealing with CLOB/BLOB fields, special care should be taken in INSERT and UPDATE statements. However DBAL does not handle it carefully when the query contains a mapped table name, e.g., when using this configuration:

$TYPO3_CONF_VARS[‘EXTCONF’][‘dbal’][‘mapping’] = array(
‘tx_templavoila_datastructure’ => array(
‘mapTableName’ => ‘tx_templavoila_ds’,
),
);

In this case, the query contains table ‘tx_templavoila_ds’ instead of ‘tx_templavoila_datastructure’ and DBAL is not able anymore to detect that a column is of type BLOB/CBLOB leading to an invalid query being issued to the database.

(issue imported from #M11047)

Reviews 0

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