Issue Bug Closed

#76427Exception when adding in a workspace a page in the pagetree

Remo H. 06/01/16, 22:44 updated 09/11/19, 21:31

Description

It is not possible to add a page in workspace, if this page has a version in workspace and is set a mountpoint for workspace.
This error occurs in TYPO3 6.2, TYPO3 7.6

Situation

Pagetree:

+ Home (#1)
  + Site A (#10)
    + Site B (#11)
Workspace:
  1. Add “Site A” in page mountpoints. Swap into the workspace as a non admin user.
  2. Add a new page in the pagetree under “Site A” => OK
  3. Now edit “Site A” (Auto-created for WS #1, uid 48)
  4. Add an other new site under “Site A” => Exception*

*Exception [1.4.14]: Attempt to move record ‘[Default Title]’ (pages:46) without having permissions to do so.

DB Dump (pages):

uid   pid   t3ver_oid   t3ver_id   t3ver_wsid   t3ver_label             t3ver_state
50    -1    49          1          1            First draft version      -1
49    48    0           0          1            INITIAL PLACEHOLDER      1
48    -1    10          1          1            Auto-created for WS #1   0
10    1     0           0          0                                     0

The error is that the initial placeholder (uid 49) gets the wrong pid, 48 instead of 10!

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.