Issue Bug Closed

#44145Additional TCA fields not available in the Frontend

Alexander Stehlik 12/20/12, 10:14 updated 10/02/18, 12:15

Description

Currently it is not possible, to access TCA data of additional fields in the Frontend (the problem at hand occurs when using tx_cssstyledcontent_pi1->render_uploads for a custom field in tt_content, the field does not exits in the TCA).

As far as I can see the problem is caused in tslib_fe->getCompressedTCarray.

The columns array key is removed completely in this method. When you don’t have additional columns this is not a problem, because t3lib_div::loadTCA will read all column data from the configured dynamicConfigFile.

But when you define additional fields and add them with t3lib_extMgm::addTCAcolumns they will be ignored.

The easiest fix for this would be to not remove the columns array, when additional columns are configured.

This bug is present in version 4.5 and in version 6.0.

Reviews 0

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