Issue Bug Closed

#19274Editors can´t undelete records in history

Andreas Heling 09/01/08, 16:21 updated 08/06/10, 13:28

Description

When an editor tryes to undelete a record in the history, the record will be deleted for a second time. The log give following informations: “Attempt to delete record without delete-permissions. [ERROR: Record could not be fetched.]”

I found the reason for this. In class.t3lib_userauthgroup.php function recordEditAccessInternals() is a call to the function t3lib_BEfunc::getRecord(). If the record, the editor tries to recover is deleted=1 the function will return NULL and the record won´t be recovered.
(issue imported from #M9270)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.