Project

General

Profile

Actions

Bug #15204

closed

In some cases BE users unable to delete pages

Added by Peter Beernink over 18 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2005-11-15
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.8.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Non admin BE users are not able to delete pages in some cases. It seems that this problem occurs when an item of a "not allowed table" has been on that page but has been deleted.

The problem looks to appear in the function noRecordsFromUnallowedTables in the file t3lib/class.t3lib_tcemain.php
There a selection is done to see if there is any content from other tables on the page, but there no checking is done if the content is deleted.

For example, I have had one case with a page where I had a template (sys_template) but deleted that one, since it was not necessary anymore. When the user wanted to delete the page it wasn't possible due to "Attempt to delete records from disallowed tables"

(issue imported from #M1870)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #55307: Undefined error message -> [newlog()] Attempt to delete records from disallowed tablesClosed2014-01-24

Actions
Actions #1

Updated by Peter Beernink over 18 years ago

BTW, this problem also occurs in older versions of Typo3. I have also confirmed this problem on a Typo3.5 install

Actions #2

Updated by Sebastian Kurfuerst about 18 years ago

Hi,
This issue has been solved in TYPO3 4.0 beta1:
That is a diff:
http://cvs.sourceforge.net/viewcvs.py/typo3/TYPO3core/t3lib/class.t3lib_tcemain.php?r1=1.52&r2=1.65&sortby=date

Search for "n noRecordsFromUnallowedTables" - then you will find both functions.

Greets, Sebastian

Actions #3

Updated by Benno Kieselstein almost 13 years ago

This issue or a very similar one seems to persist in TYPO3 4.5.2:

BE user can not delete plain pages, system feedbacks

1: [newlog()] Attempt to delete records from disallowed tables

The page has no subpages, no alternative page language, no content element, no extension template, no references.

The BE user is page owner and member of group.

— perms_user = 31
— perms_group = 31
— perms_everybody = 31

Please help. Has anyone any idea?
Greets -- Benno

Actions #4

Updated by Sybille Peters over 3 years ago

  • Related to Bug #55307: Undefined error message -> [newlog()] Attempt to delete records from disallowed tables added
Actions

Also available in: Atom PDF