Project

General

Profile

Actions

Bug #76427

closed

Exception when adding in a workspace a page in the pagetree

Added by Remo H. over 8 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2016-06-01
Due date:
% Done:

0%

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

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!

Actions

Also available in: Atom PDF