Issue Bug Closed

#18997TCAselectItem not working for all tables

Oliver Weiss 06/21/08, 11:37 updated 10/02/18, 12:31

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)

Reviews 0

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