#30229Error when deleting a Page with translation
Description
Hi,
everytime a user deletes pages with translated content on it, you get the following error message:4.4.11:
1: Attempt to delete record without delete-permissions. [ERROR: Record could not be fetched.]
4.5.6/4.6.0:
Exception
[1.3.-1]: Attempt to delete record without delete-permissions. [ERROR: Record could not be fetched.]
It’s only a message, the page+content will be deleted and disappear in the page tree. Each translation produces 1 message.
I have reproduced the error on different typo3 versions. 4.4.11 (fresh installation,windows), 4.5.6 (existing installation,linux), 4.5.6 (fresh installation,linux), 4.6.0beta3 (fresh installation,windows).
*How to reproduce?*
- take a fresh or existing typo3 installation
- setup your site to allow localization
- create a testuser with all access rights (exept admin)
- create a new page and add some sample content + alternative page language
- use the ‘localize to’ button in the list view to translate the sample content
- grant the testuser ownership of the new page
- switch to testuser and delete the newly created page
At this point, you should see the error message and a record in the log.
The message doesn’t appear when working as admin.
Regards
Maik