#107065Error message when editor deletes pages with content elements
Description
When an editor tries to delete a page with content elements, an error message “Attempt to delete record without delete-permissions” is shown. The page itself is deleted (though the page tree is not automatically updated until reload) but the content elements are not marked as deleted.
It seems, the bug arises because in DataHandler’s deleteRecord function the parameter $uidOrRow is an array with only the uid set. So all checks inside the function expect a full DB row, but fail, because it’s there’s only an uid.
I couldn’t find the root cause, why the uid is not passed as int.
Tested with TYPO3 13.4.15
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Files 1
History 3
-
Manfred Egger commented and changed attached Bug-107065.patch 07/30/25, 06:10
-
Manfred Egger commented 11/13/25, 10:44
It seems this bug is gone at least with 13.4.20 (didn’t test intermediate versions). I couldn’t reproduce this bug anymore.
So I guess this can be closed. -
Riccardo De Contardi commented and changed status
NewClosed 11/13/25, 11:11Thank you for your reply. I close this issue as solved
If you think that this is the wrong decision or experience the issue again please reopen it or open a new issue with a reference to this one
I created a patch, which checks if the
$uidOrRowis an array and has onlyuidset. If so, set$uidOrRowto the uid. This fixes the error, but not the root cause.