View Issue Details

IDProjectCategoryView StatusLast Update
0007678OXID eShop (all versions)8. --- Twig engine ---public2024-06-25 15:55
ReporterSteven Assigned To 
PrioritynormalSeveritytweakReproducibilityalways
Status closedResolutionduplicate 
Product Version7.1.0 
Summary0007678: Template render error always says template not found
DescriptionThe method OxidEsales\EshopCommunity\Core\ShopControl::processTemplateRenderError always says "Template ... not found" no matter what the actual error is. Fortunately the oxideshop.log shows additional information but the displayed debug message only shows the "Template ... not found" message. This is very confusing and complicates the process of debugging any template errors.
Steps To ReproduceAdd any error to a template.

Example:
{% setfoo a = 'a' %}

Then check log:

OXID Logger.ERROR: Template "page/shop/start" not found ["[object] (Twig\\Error\\SyntaxError(code: 0): Unexpected \"setfoo\" tag (expecting closing tag for the \"apply\" tag defined near line 4). at /var/www/oxideshop/source/Application/views/apex/tpl/layout/base.html.twig:78) (...)
TagsNo tags attached.
ThemeNot defined
BrowserNot defined
PHP VersionNot defined
Database VersionNot defined

Relationships

duplicate of 0007572 acknowledgedSvenBrunk Wrong Exception Message in case of a twig error 

Activities

QA

2024-06-19 13:23

administrator   ~0017067

QA -SG-