Project

General

Profile

Actions

Bug #88377

closed

Page tree delete does not perform error checking

Added by filigivuji filigivuji almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
-- undefined --
Assignee:
-
Category:
Pagetree
Target version:
-
Start date:
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

Running TYPO3 9.5.7.
Deleting a page via the page tree does not seem to perform error checking in this particular scenario, the page tree just reloads without the deletion being performed and without showing an error message:

  1. Create a page (lets call it page A) with a subpage.
  2. Make sure that in user settings -> Edit and Advanced functions -> "Recursive Delete(!): Allow ALL subpages to be deleted when deleting a page" is disabled. Should be default for new users.
  3. Right click on page A in the page tree and choose "Delete".

Expected behavior: An error message is shown.
Actual behavior: The page tree reloads without showing any error message. An error message is only shown when navigating to a new backend site ("Attempt to delete page which has subpages").

This bug may not be exclusive to this specific scenario when deleting pages via the context menu, I haven't checked whether other errors are properly handled.

This seems to be a regression. In TYPO3 6.2 in the same scenario, an error message notification pops up:

Exception
[1.0.-1]: [newlog()] Attempt to delete page which has subpages


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #87416: Page is not deleted through the context menu if the site has translations and the page was currently selectedClosed2019-01-11

Actions
Actions

Also available in: Atom PDF