Project

General

Profile

Actions

Bug #103092

open

TYPO3 12LTS | php8.1 | File reference on new page gets pid 0 instead of the pid of the record

Added by Sven Ignor 3 months ago. Updated 3 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2024-02-09
Due date:
% Done:

0%

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

Description

Hello everyone,

unfortunately I can reproduce the "problem" of the already solved bug https://forge.typo3.org/issues/82931 in our TYPO3 12LTS (12.4.10).
Could someone take a look at it?

Thanks in advance

Here is the content of the linked bug as a quote:

Steps to reproduce:
Go to 'list' mode (You can use 'Create New' wizard also)
Create a new page (so it has uid NEW_*)
Attach a resource like an image
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


Files


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #82931: File reference on new page gets pid 0 instead of the pid of the recordClosed2017-11-06

Actions
Actions #1

Updated by Sybille Peters 3 months ago

  • Related to Bug #82931: File reference on new page gets pid 0 instead of the pid of the record added
Actions #2

Updated by Sybille Peters 3 months ago

I could reproduce this in latest v12 and v13 via the description - important is to use list module and not save page until the the file reference is created.

Actions

Also available in: Atom PDF