Deprecation flooded in 9.5 due too old condition syntax

Issue #42 new
Former user created an issue

TYPO3 log is flooded with following errors:

Tue, 25 Feb 2020 16:10:53 +0000 [WARNING] request="3f7870912a213" component="TYPO3.CMS.Frontend.Configuration.TypoScript.ConditionMatching.ConditionMatcher": Expression could not be parsed, fallback kicks in. It looks like an old condition with only one equal sign. - {"expression":"globalVar = LIT:1 = 1"}

Tue, 25 Feb 2020 16:15:54 +0000 [NOTICE] request="ebeb0dad065fe" component="TYPO3.CMS.deprecations": Core: Error handler (BE): TYPO3 Deprecation Notice: The old condition syntax will be removed in TYPO3 v10.0, use the new expression language. Used condition: [globalVar = LIT:1 = 1]. in /var/www/html/public/typo3/sysext/frontend/Classes/Configuration/TypoScript/ConditionMatching/ConditionMatcher.php line 83

This can be solved easily with rewriting the condition to new syntax available since 9.5.

If you want to keep backward compatibility with version <9, please provide 2 static templates, one for 9.5 and up and one for 8.7 and older

Comments (0)

  1. Log in to comment