Review 13.4 Merged

92620[TASK] Increase test coverage for template path overrides

Simon Praetorius CR +2 V +2 Normal +111 −0 updated 02/01/26, 19:36

Commit message

Issue #108779 uncovered potential issues in the way template paths
are merged. As a first step, this patch increases test coverage in the
relevant area (`TemplatePaths` class).

The new test cases suggest two separate issues, one in Extbase and
one in Fluid. Both concern the way template paths are interpreted
if one path is specified multiple times in the same array. From a
user's point of view, this would suggest that the "higher ordered"
path should be used, however TYPO3 (and Fluid) uses the "lower ordered"
path.

These actual issues can be tackled in follow-up patches both in TYPO3
and Fluid Standalone. For now, they are documented as `@todo` in
the newly added test cases.

Review

  • Code review CR +2 Done
    • Simon Praetorius +2
  • Verified V +2 Done
    • Simon Praetorius +2
    • core-ci +1 CI

Issues 3

Files 3

Review log 46

  1. Simon Praetorius commented on patch set 1 02/01/26, 17:43

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V -1 02/01/26, 17:54 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/94776

  3. Simon Praetorius uploaded patch set 2 V -1 02/01/26, 18:05

  4. core-ci voted on patch set 2 V +1 02/01/26, 18:12 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/94778

  5. Simon Praetorius voted on patch set 2 CR +2 V +2 02/01/26, 19:36

  6. Simon Praetorius merged patch set 3 02/01/26, 19:36