Project

General

Profile

Actions

Bug #19274

closed

Editors can´t undelete records in history

Added by Andreas Heling about 16 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2008-09-01
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Files

typo3_bug_9270.patch (2.66 KB) typo3_bug_9270.patch Administrator Admin, 2008-11-11 11:02
9270_editorsUndelete.patch (1.91 KB) 9270_editorsUndelete.patch Administrator Admin, 2009-06-15 06:35
9270_trunk.patch (2.24 KB) 9270_trunk.patch Administrator Admin, 2009-08-21 13:32
9270_4-2_branch.patch (2.25 KB) 9270_4-2_branch.patch Administrator Admin, 2009-08-21 13:33
9270_4-1_branch.patch (2.19 KB) 9270_4-1_branch.patch Administrator Admin, 2009-08-21 13:34

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #27309: permanently deleting impossible for non admin be_usersClosed2011-06-08

Actions
Actions

Also available in: Atom PDF