[BUGFIX] TCA displayCond with EXT:anExt:LOADED fails 51/44251/5
authorChristian Kuhn <lolli@schwarzbu.ch>
Fri, 23 Oct 2015 15:01:51 +0000 (17:01 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 23 Oct 2015 17:40:55 +0000 (19:40 +0200)
commit81cc14db7b41d864231e26b5dad7d002be149ebd
tree04161bbf034fcca3410704ef9036003c42ad7752
parent97152189455c5aa47c87142542df73745b0271e9
[BUGFIX] TCA displayCond with EXT:anExt:LOADED fails

Due to the new condition evaluation construct in FormEngine, the
EXT:anExtension:LOADED display condition is very unfortunate since
the evaluation happens at the end, and depending on the configuration
of affected field, the former data provider may fail fetching data.

This is solved by deprecating this condition since it works contrary
to the "additive" TCA system: Extensions should always add or change
other extensions TCA, but should not have a "negative" dependency
to each other like "Don't do if that extension is loaded".

Core is affected at two places in combination with
static_info_tables. This also lowers the dependency from core
to static_info_tables again, which is not a good thing in
first place.

A patch for static_info_tables adding the fields there is pending.

Resolves: #70052
Releases: master
Change-Id: Iccb7a116d1f89e55e80e389a2448759eca326605
Reviewed-on: https://review.typo3.org/44251
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Form/FormDataProvider/EvaluateDisplayConditions.php
typo3/sysext/core/Configuration/TCA/sys_language.php
typo3/sysext/core/Documentation/Changelog/master/Deprecation-70052-ExtLoadedDisplayCondition.rst [new file with mode: 0644]
typo3/sysext/rtehtmlarea/Configuration/TCA/tx_rtehtmlarea_acronym.php