From 22e8e569c68c3364928ee986554ab53f58c027b3 Mon Sep 17 00:00:00 2001 From: Lars Lauger <lars.lauger@netlogix.de> Date: Wed, 31 May 2023 09:59:00 +0200 Subject: [PATCH] BUGFIX: Set templatePathAndFilename for serverErrorExceptions to prevent "Template not found" useCustomErrorView() of the AbstractExceptionHandler only checks if the array key templatePathAndFilename is set, but not if it's a valid string. This means that setting templatePathAndFilename to null will cause an exception during exception rendering, hiding the original error. --- Configuration/Settings.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Configuration/Settings.yaml b/Configuration/Settings.yaml index fe5697d..d5c1015 100644 --- a/Configuration/Settings.yaml +++ b/Configuration/Settings.yaml @@ -7,6 +7,7 @@ Neos: matchingStatusCodes: [ 500 ] options: logException: true + templatePathAndFilename: 'resource://Neos.Flow/Private/Templates/Error/Default.html' Netlogix: ErrorHandler: