Issue Bug Closed

#93746Conditions in Page TSconfig using site settings trigger errors when page with UID 0 is selected in BE

Česlav Przywara 03/15/21, 16:51 updated 02/05/24, 10:32

Description

The subject says it all.

An example of error:

[ERROR] component="TYPO3.CMS.Backend.Configuration.TypoScript.ConditionMatching.ConditionMatcher": Expression could not be parsed. - {"expression":"{$pids.styleguide} in tree.rootLineIds"}

Since there is no site attached to page with UID 0, there are no site settings to be populated either.

Perhaps conditions that have variables in them should be simply ignored on page with UID 0?

Reviews 0

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