#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.