From 9668f08b4cd0915e109f0a00fd17c398035efb59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Sat, 24 Oct 2026 11:51:55 +0200 Subject: [PATCH] chore: X-Ep-Compare header renders failing elements as placeholders in development Lets the TYPO3 10 comparisons check elements on pages that still hold content types without a rendering definition. Co-Authored-By: Claude Opus 5.5 --- .../ep_theme/Configuration/TypoScript/Page/Main.typoscript | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/ep_theme/Configuration/TypoScript/Page/Main.typoscript b/packages/ep_theme/Configuration/TypoScript/Page/Main.typoscript index a6f1a97..683e6f5 100644 --- a/packages/ep_theme/Configuration/TypoScript/Page/Main.typoscript +++ b/packages/ep_theme/Configuration/TypoScript/Page/Main.typoscript @@ -212,6 +212,12 @@ page.headerData.990 > page.headerData.995 > [end] +# Comparisons with TYPO3 10 (.ddev/plans/checks): an element that fails renders the error placeholder +# instead of failing the page, so the other elements of the page can still be compared +[applicationContext == "Development" && traverse(request.getHeaders(), 'x-ep-compare/0') == '1'] +config.contentObjectExceptionHandler = 1 +[end] + #[applicationContext == "Development" || applicationContext == "Production/Staging"] # page.headerData.990 > # page.headerData.995 >