Project

General

Profile

Actions

Bug #82931

closed

File reference on new page gets pid 0 instead of the pid of the record

Added by Michiel Roos about 7 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
FormEngine aka TCEforms
Start date:
2017-11-06
Due date:
% Done:

100%

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

Description

Steps to reproduce:
  1. Go to 'list' mode
  2. Create a new page (so it has uid NEW_*)
  3. Attach a resource like an image
  4. Save the record

Expected behavior:
The sys_file_reference entry has a pid of the newly created page

Observed behavior:
The sys_file_reference entry has a pid of 0

Result:
A regular 'mortal' user can never remove the reference from the page object because it has no access to remove stuff from pid 0.

I only observed this behavior in page records. tt_content for example, seems to work fine


Related issues 2 (1 open1 closed)

Related to TYPO3 Core - Bug #103092: TYPO3 12LTS | php8.1 | File reference on new page gets pid 0 instead of the pid of the recordNew2024-02-09

Actions
Has duplicate TYPO3 Core - Bug #87972: Editor looses ability to delete file relation on page if relation was created with the page recordClosed2019-03-20

Actions
Actions

Also available in: Atom PDF