File reference on new page gets pid 0 instead of the pid of the record
- Go to 'list' mode
- Create a new page (so it has uid NEW_*)
- Attach a resource like an image
- Save the record
The sys_file_reference entry has a pid of the newly created page
The sys_file_reference entry has a pid of 0
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
#19 Updated by Josef Glatz 17 days ago
A customer encountered the same problem in TYPO3 8.7 where the PID of the sys_language_uid is 0. But it's somehow funny, because the editor doesn't have the list module enabled for his usergroup. I can't find a way to reproduce the behaviour. Only the title of the patch on Gerrit seems to be the same problem.