Review main Merged

76997[BUGFIX] Properly consider else condition in TypoScript

Christian Kuhn CR +2 V +2 Normal +125 −11 updated 12/09/22, 09:18

Commit message

When establishing the TypoScript condition verdict visitors,
the tstemplate related "fake" IncludeTreeConditionEnforcerVisitor
properly handled "[ELSE]" conditions, while the production
IncludeTreeConditionMatcherVisitor missed the negation
toggle, resulting in never matching else conditions.

The patches fixes this and adds functional tests to verify
proper else-condition scenarios in UserTsConfig, PageTsConfig
and Frontend TypoScript rendering.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 2

Files 10