[TYPO3-dam-devel] RFC 7859: DAM adds column ce_flexform on wrong condition

Benjamin Mack benni at typo3.org
Fri May 2 16:41:20 CEST 2008


Hey all,

this is a SVN patch request.

Severity: no-brainer / minor

Branches: 1.1 (trunk) only

BT reference: http://bugs.typo3.org/view.php?id=7859

Problem:
In ext_tables.php the additional column "ce_flexform" for tt_content is 
added if "$TCA['tx_dam']['columns']['ce_flexform']" is not set yet. 
Well, since the ce_flexform column is added to tt_content, this check 
always returns false.

Solution:
The check needs to be
if (!isset($TCA['tt_content']['columns']['ce_flexform'])) {
to check if the column is already present in tt_content, not in tx_dam.

Notes:
If no one objects, I'd like to commit this in 24hs.

greetings,
benni.
-SDG-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20080502_7859_ce_flexform_tables.patch
Type: text/x-diff
Size: 532 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-dam/attachments/20080502/55792ac8/attachment.patch 


More information about the TYPO3-team-dam mailing list