[TYPO3-dev] More than 4000 characters in a CLOB [fixed]

Xavier Perseguers typo3 at perseguers.ch
Thu May 7 16:48:50 CEST 2009


Hi,

> I finally found the reason why it does not work in my case!!!
> 
> I found that DBAL is not fair enough when dealing with mapped table 
> names. It cannot find the type of the column and use the correct 
> handling for blobs/clobs when having this in localconf.php for instance:
> 
> $TYPO3_CONF_VARS['EXTCONF']['dbal']['mapping'] = array(
>     'tx_templavoila_datastructure' => array(
>         'mapTableName' => 'tx_templavoila_ds',
>     ),
> );
> 
> As the method sql_field_metatype is called with the mapped table name 
> (tx_templavoila_ds) and not the original name 
> (tx_templavoila_datastructure) meaning an empty string is returned and 
> DBAL thinks it is a normal string and does not use the special handling.
> 
> I now have to patch this ;-)

http://bugs.typo3.org/view.php?id=11047

-- 
Xavier Perseguers
DBAL-Member

http://xavier.perseguers.ch/en/tutorials/typo3.html




More information about the TYPO3-dev mailing list