Review 14.3 Merged

93822[BUGFIX] Have 'tree' always available in TS condition matcher

Christian Kuhn CR +2 V +2 Easy +27 −9 updated 04/23/26, 12:10

Commit message

IncludeTreeConditionMatcherVisitor only registered the 'tree'
variable when a non-empty rootline was available. DataHandler on
orphaned records in CLI context has none, and conditions like
'[123 in tree.rootLineIds]' then trip Symfony Expression Language
with an unknown-variable SyntaxError.

The patch always exposes 'tree' with sensible empty defaults when
the rootline is absent, so such conditions evaluate to false
instead of erroring out.

Review

  • Code review CR +2 Done
    • Garvin Hicking +2
  • Verified V +2 Done
    • Garvin Hicking +2
    • core-ci +1 CI

Issues 1

Files 3

Review log 58

  1. Christian Kuhn uploaded patch set 1 04/23/26, 09:41

  2. core-ci voted on patch set 1 V +1 04/23/26, 09:52 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/101016

  3. Garvin Hicking commented on patch set 2 V +1 04/23/26, 09:57

    Cherry Picked from branch main.
  4. core-ci voted on patch set 2 V -1 04/23/26, 10:07 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/101020

  5. Garvin Hicking commented on patch set 3 V -1 04/23/26, 10:18

    Published edit on patch set 2.
  6. core-ci voted on patch set 3 V +1 04/23/26, 10:36 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/101025

  7. Garvin Hicking voted on patch set 3 CR +2 V +2 04/23/26, 12:10

  8. Garvin Hicking merged patch set 4 04/23/26, 12:10