Bug #103092
openTYPO3 12LTS | php8.1 | File reference on new page gets pid 0 instead of the pid of the record
0%
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
Updated by Sybille Peters 7 months ago
- Related to Bug #82931: File reference on new page gets pid 0 instead of the pid of the record added
Updated by Sybille Peters 7 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.