Bug #89604

Content element "New" button creates new records on root level instead of current page

Added by Riccardo De Contardi 15 days ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2019-11-07
Due date:
% Done:

0%

TYPO3 Version:
10
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Steps to reproduce

on TYPO3 10.2.0-dev (latest master)

1) Open a page (level does not matter)
2) Create a content element (type does not matter) and put something on that
3) Click Save
4) click on "New" button (+) on header bar
5) Put something in the new content element
6) Save

Expected Result

The content element is created on the current location i.e. the page selected at point 1)

Current result

An error is triggered:

Error: 1: Attempt to insert record on page '[root-level]' (0) where this table, tt_content, is not allowed

Notes

- can also be reproduced with other elements (e.g. in a sysfolder) other than tt_content records

- on version 9.5.11 the issue seems absent.

Also available in: Atom PDF