Project

General

Profile

Bug #9013

Error in Twig template not handled

Added by Nicola Chiapolini over 1 year ago. Updated about 1 month ago.

Status:
New
Priority:
High
Assignee:
Target version:
-
Start date:
04.09.2019
Due date:
% Done:

0%

Estimated time:
Discuss:

Description

Bei einem Fehler im Twig-Template wird die "Oops, an errro occured..." Meldung angezeigt und der Debug-Output ist nirgends sichtbar. (analog zu #6216)

#1

Updated by Carsten Rose over 1 year ago

  • Status changed from New to Some day maybe
#2

Updated by Marc Egger 11 months ago

  • Status changed from Some day maybe to New
  • Assignee set to Marc Egger
#3

Updated by Marc Egger 11 months ago

  • Status changed from New to In Progress
#4

Updated by Marc Egger 10 months ago

Created branch for issue and implemented it. Twig errors are shown.
Problem: QFQ removes new line characters early. The whole Twig template is on one line which makes the error messages useless.
Solution?: We have to find a way to keep the new line characters in the twig template when parsing a QFQ report.

#5

Updated by Marc Egger 8 months ago

  • Status changed from In Progress to Priorize
#6

Updated by Marc Egger about 1 month ago

  • Status changed from Priorize to New
  • Assignee changed from Marc Egger to Carsten Rose

QFQ loescht alle new line characters raus, wenn es einen Report rendert. deshalb ist es nicht moeglich eine schoene Twig fehlermeldung auszugeben, da man das twig template nur als einzeiligen string und nicht mit originaler formatierung rendert.
Hast du irgend eine (quick and dirty) idee wie man das twig template samt newlines aus dem report ziehen koennte beim parsen?

Nicola wäre uns um dieses feature sehr dankbar

#7

Updated by Carsten Rose about 1 month ago

  • Priority changed from Normal to High

Also available in: Atom PDF