Review 14.3 Merged

97391[BUGFIX] Keep category tree for mounted starting points

Georg Ringer CR +2 V +2 Normal +133 −4 updated 11/07/26, 19:03

Commit message

When multiple tree starting points were introduced, the category
permission check changed from "the starting point or one of its parents
is a category mount" to "the starting point and one of its parents are
category mounts". A mounted starting point without a mounted parent,
e.g. a top-level category, therefore always triggered repopulating the
tree from the mount points. With a single starting point, that starting
point is the root node itself and is never found among its own child
nodes, so editors only saw the bare root without any sub categories.
Likewise, a starting point below a category mount was not accepted,
so its sub categories were not shown either.

A starting point which is a category mount itself is now accepted
right away, and the rootline is only checked for starting points that
are not mounted. Since unmounted starting points such as 0 are now
looked up, a missing database row is handled.

Review

  • Code review CR +2 Done
    • Georg Ringer +2
  • Verified V +2 Done
    • Georg Ringer +2
    • core-ci +1 CI

Issues 1

Files 3

Review log 46

  1. Georg Ringer commented on patch set 1 11/06/26, 09:28

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V -1 11/06/26, 09:36 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113478

  3. Georg Ringer uploaded patch set 2 V -1 11/07/26, 18:50

  4. core-ci voted on patch set 2 V +1 11/07/26, 19:00 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113574

  5. Georg Ringer voted on patch set 2 CR +2 V +2 11/07/26, 19:03

  6. Georg Ringer merged patch set 3 11/07/26, 19:03