Issue Bug Resolved

#106251DB mount lost when page moved in draft workspace

Philipp Kitzberger 02/25/25, 21:56 updated 10/23/26, 04:50

Description

BE users that have only access to a draft workspace suddenly lose their DB mount when that very page gets moved among its parents subpages (different sorting, same pid!) and that change is still unpublished.

How to reproduce:
  • Create a two level pagetree:
    • rootpage ‘root’
    • subpage ‘sub a’
    • subpage ‘sub b’
  • Create a be_group
    • set DB mount to page ‘sub a’
    • remove live-editing permission
    • name it ‘draft editors’
  • Create a sys_workspace record
    • no DB mount (so it’s got a global scope)
    • add ‘draft editors’ as member or admin.
  • Create a be_user ‘intern’, give them ‘draft editors’ as group
Test 1:
  • log in as ‘intern’, find ‘sub a’ in the page tree
    => All good!
Test 2:
  • as admin change the sorting of ‘sub a’ and ‘sub b’ in the draft workspace, don’t publish!
  • log in as ‘intern’, empty page tree ;-(
    => That’s not good!
Test 3:
  • as admin change the sorting of ‘sub a’ and ‘sub b’ in the draft workspace, do publish that change!
  • log in as ‘intern’, find ‘sub a’ in the page tree
    => All good again!

First experienced this bug in TYPO3 11, but can be reproduced in latest main a.k.a 14-dev branch too!

Reviews 3

History 59

  1. Philipp Kitzberger changed description 02/25/25, 22:03

  2. Georg Ringer changed status New Accepted 02/26/25, 07:36

  3. Gerrit Code Review pushed patch set 1 for main to change 88362 status Accepted Under Review 02/26/25, 07:49

  4. Gerrit Code Review pushed patch set 2 for main to change 88362 02/26/25, 19:41

  5. Benni Mack commented and changed status Under Review Needs Feedback 04/08/25, 09:50

    Hey Philipp,

    we have created a patch for this but it showed that the current behavior is correct. I assume this happens / happened also when the root page is modified by an admin, or only when moved?

  6. Philipp Kitzberger commented 02/07/26, 13:33

    We’ve upgraded the project in question from v11 to v13 and are still successfully using patchset 2 to fix this problem.

    > I assume this happens / happened also when the root page is modified by an admin, or only when moved?

    I can only reproduce this with a draft-change on sorting or pid of the DB mounted page.

    Interestingly enough: the ‘intern’ can successfully publish the “moving operation” of the DB mounted page (without having ro or rw access to its parent and/or target page!)

  7. Gerrit Code Review pushed patch set 1 for main to change 96832 status Needs Feedback Under Review 10/18/26, 16:27

  8. Gerrit Code Review pushed patch set 1 for 14.3 to change 97039 10/23/26, 04:44

  9. Benni Mack commented and changed status Under Review Resolved done 0 % 100 % 10/23/26, 04:50

    Applied in changeset commit:e41b5236e733fa341684f42abaade10fd8cb3dd9.