Project

General

Profile

Actions

Bug #70052

closed

Story #69617: FormEngine bugs

TCA displayCond not evaluated

Added by Georg Ringer about 9 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
Start date:
2015-09-23
Due date:
% Done:

100%

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

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',


Related issues 5 (0 open5 closed)

Related to TYPO3 Core - Task #70561: Adapt tx_rtehtmlarea_acronym TCA to TYPO3 CMS 7 FormEngineClosedStanislas Rolland2015-10-10

Actions
Related to TYPO3 Core - Task #70545: tx_rtehtmlarea_acronym - kick dependency to static_info_tables, deprecate isLoaded display conditionClosed2015-10-09

Actions
Related to TYPO3 Core - Bug #76958: displayCond LOADED does not check the loaded extensionClosed2016-07-06

Actions
Related to TYPO3 Core - Bug #78853: BE doesn't execute displayCond of extension flexformRejected2016-12-01

Actions
Has duplicate TYPO3 Core - Bug #70051: TCA displayCond not evaluatedClosed2015-09-23

Actions
Actions #1

Updated by Markus Klein about 9 years ago

  • Description updated (diff)
  • Target version set to 7 LTS
  • Sprint Focus set to Remote Sprint
Actions #2

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

Actions #3

Updated by Christian Kuhn about 9 years ago

will think about something with morton.

Actions #4

Updated by Benni Mack about 9 years ago

  • Category set to FormEngine aka TCEforms
Actions #5

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

Actions #6

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

Actions #7

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

Actions #8

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

Actions #9

Updated by Christian Kuhn about 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #10

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!

Actions #11

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF