Bug #15204
closedIn some cases BE users unable to delete pages
0%
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)
Updated by Peter Beernink about 19 years ago
BTW, this problem also occurs in older versions of Typo3. I have also confirmed this problem on a Typo3.5 install
Updated by Sebastian Kurfuerst almost 19 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
Updated by Benno Kieselstein over 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
Updated by Sybille Peters about 4 years ago
- Related to Bug #55307: Undefined error message -> [newlog()] Attempt to delete records from disallowed tables added