Project

General

Profile

Actions

Bug #27309

closed

permanently deleting impossible for non admin be_users

Added by Sebastian Müller over 13 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-06-08
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Hey guys,

when trying to permanently delete a record as non admin via recycler nothing happens (not even an error message is displayewd for the user). As admin you can see in the TYPO3-Log: Attempt to delete record without delete-permissions. [ERROR: Record could not be fetched.]

Its simular to the fixed bug:
http://forge.typo3.org/issues/19274
but instead of undelete it is here for delete.

The error is in the TCEMain class in 2 functions where "deleteRecord" is called:
function "deleteEl" -> "deleteRecord"
function "deleteVersionsForRecord" -> "deleteRecord"

There is no fifth parameter true ($undeleteRecord) for deleteRecord sent.

In the deleteREcord() function the parameter is called $undeleteRecord which is not the best naming if we use this for delete too.

When fixing this bug means atteching a new parameter to "deleteEl" which is passed to "deleteRecord",
it must be also sent in recycler extension and be attached to "deleteVersionsForRecord".

Is there anything missing or wrong in my thoughts?


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #19274: Editors can´t undelete records in historyClosedRupert Germann2008-09-01

Actions
Actions

Also available in: Atom PDF