Project

General

Profile

Actions

Bug #18997

closed

TCAselectItem not working for all tables

Added by Oliver Weiss over 16 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Content Rendering
Target version:
-
Start date:
2008-06-21
Due date:
% Done:

0%

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

Description

The stdWrap feature TCAselectItem. is not working for tables, which come from own extensions. This is because the TCA array is not completely loaded in the TCAlookup function (class.tslib_content: Line 4977).
If t3lib_div::loadTCA($table); is added, it works.

page.10 = TEXT
page.10.value = 1
page.10.TCAselectItem.table = tt_news
page.10.TCAselectItem.field = type
page.10.TCAselectItem.delimiter = ,

does not work.

page.10 = TEXT
page.10.value = 1
page.10.TCAselectItem.table = pages
page.10.TCAselectItem.field = doktype
page.10.TCAselectItem.delimiter = ,

works.
(issue imported from #M8785)


Files

8785_v1.diff (609 Bytes) 8785_v1.diff Administrator Admin, 2010-08-14 00:31
Actions

Also available in: Atom PDF