Project

General

Profile

Actions

Task #87302

closed

Throw better exception if a page for 404 error handling throws an fluid exception

Added by Josef Glatz almost 6 years ago. Updated almost 3 years ago.

Status:
Rejected
Priority:
Could have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2018-12-27
Due date:
% Done:

0%

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

Description

Problem/Description

Reproduce the following scenario

  1. Using the new site configuration and setting a 404 page like t3://page?uid=15
  2. force a fluid exception on a CE in the target 404 page (e.g. f:for VH on a string)
  3. open https://yourproject.localdevdomain/foobarmuhbar42
  4. This leads to the following exception:
#1544172838 RuntimeException
Error handler could not fetch error page "https://yourproject.localdevdomain/404", reason: Client error: `GET https://yourproject.localdevdomain/404` resulted in a `404 The requested page does not exist` response

A dev/integrator may be confused. Feels like any environment specific problem.

ToDo(s)

  • If possible – show a better exception to the TYPO3 Integrator
Actions

Also available in: Atom PDF