Bug #70052
closedStory #69617: FormEngine bugs
TCA displayCond not evaluated
100%
Description
If EXT:static_info_tables is not installed, and a record "tx_rtehtmlarea_acronym" is created, an exception is thrown:
Uncaught TYPO3 Exception #1439569743: Field static_lang_isocode of table tx_rtehtmlarea_acronym reference to foreign table static_languages, but this table is not defined in TCA
TCA of this field has:
'displayCond' => 'EXT:static_info_tables:LOADED:true',
Updated by Markus Klein about 9 years ago
- Description updated (diff)
- Target version set to 7 LTS
- Sprint Focus set to Remote Sprint
Updated by Georg Ringer about 9 years ago
some further description:
the displaycond is
'displayCond' => 'EXT:static_info_tables:LOADED:true',
so the issue is only reproducable if static_info_tables is not installed.
the exception is thrown from TYPO3\CMS\Backend\Form\FormDataProvider\TcaSelectItems
because the displayconds are evaluated too late as EvaluateDisplayConditions
is called afterwards
Updated by Christian Kuhn about 9 years ago
will think about something with morton.
Updated by Gerrit Code Review about 9 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/44251
Updated by Gerrit Code Review about 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/44251
Updated by Gerrit Code Review about 9 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/44251
Updated by Gerrit Code Review about 9 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/44251
Updated by Christian Kuhn about 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 81cc14db7b41d864231e26b5dad7d002be149ebd.
Updated by Bernhard Berger over 8 years ago
I need to clearify in a comment here:
the issue of a non working displayCond has not be resolved here. What got resolved was an exception caused by static_info_tables and tx_htmlarea. I've seen now on 2 seperated occasions that extension developers re-added their EXT:-condition because they saw this issue marked as 'resolved'.
Additionally displayCond using EXT: has been now marked as deprecated - and not been fixed!
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed