Issue Bug Closed

#94172System 404 error if page is disabled

Jan Kiesewetter 05/20/21, 11:02 updated 02/19/22, 16:46

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.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.