Review 13.4 Merged

91534[BUGFIX] Preserve restrictions for subselect in GreedyDatabaseBackend

Oli Bartsch CR +2 V +2 Easy +2 −0 updated 11/11/25, 08:56

Commit message

When fetching rows in the GreedyDatabaseBackend,
the query can be customized via the VisibilityAspect.
Based on the aspect, query restrictions are removed.
Those modified restrictions must be preserved for
the subselect.

One place, which is fixed with this patch is the
content preview of "shortcut" records, which does
now display hidden relations again.

Review

  • Code review CR +2 Done
    • Benni Mack +2
  • Verified V +2 Done
    • Benni Mack +2
    • core-ci +1 CI

Issues 1

Files 1

Review log 34

  1. Oli Bartsch commented on patch set 1 11/11/25, 08:33

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 11/11/25, 08:39 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/88953

  3. Benni Mack voted on patch set 1 CR +2 V +2 11/11/25, 08:56

  4. Benni Mack merged patch set 2 11/11/25, 08:56