Project

General

Profile

Actions

Bug #106251

open

DB mount lost when page moved in draft workspace

Added by Philipp Kitzberger 20 days ago. Updated 19 days ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2025-02-25
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
14
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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!

Actions #1

Updated by Philipp Kitzberger 20 days ago

  • Description updated (diff)
Actions #2

Updated by Georg Ringer 20 days ago

  • Status changed from New to Accepted
Actions #3

Updated by Gerrit Code Review 20 days ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/88362

Actions #4

Updated by Gerrit Code Review 19 days ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/88362

Actions

Also available in: Atom PDF