Project

General

Profile

Actions

Bug #94172

closed

System 404 error if page is disabled

Added by Jan Kiesewetter over 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2021-05-20
Due date:
% Done:

0%

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

Description

Environment:

TYPO3 9.5 with site config and a page as 404 error handling.

errorHandling:
- errorCode: '404'
  errorHandler: Page
  errorContentSource: 't3://page?uid=123'

Current behavior:

Editor disables page
URL of disabled page shows a default error page instead of configured 404 handling
(See screenshot)

Expected behavior:

Editor disables a page
URL of disabled page shows the configured 404 page.

Workaround:

Editor disables page
Editor change slug of disabled page, e.g. add "-disabled" so the previous slug doesn't exists anymore.
Original URL of disabled page shows configured 404 page because there is no slug that matches.


Files

Actions

Also available in: Atom PDF