Bug #44145

Additional TCA fields not available in the Frontend

Added by Alexander Stehlik over 8 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Frontend
Target version:
-
Start date:
2012-12-20
Due date:
% Done:

100%

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

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.


Related issues

Blocks TYPO3 Core - Bug #47796: css_styled_content does not render uploads anymoreClosed2013-05-01

Actions

Also available in: Atom PDF