Issue Task Rejected

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

Josef Glatz 12/27/18, 14:07 updated 01/06/22, 09:44

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

Reviews 0

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