Project

General

Profile

Bug #9013

Error in Twig template not handled

Added by Nicola Chiapolini 12 months ago. Updated about 2 months ago.

Status:
In Progress
Priority:
Normal
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)

Associated revisions

Revision 463028d4 (diff)
Added by Marc Egger 2 months ago

Refs #9013 twig error is shown but all on one line

Revision b4bfba48 (diff)
Added by Marc Egger 2 months ago

Refs #9013 twig context json pretty print

History

#1 Updated by Carsten Rose 8 months ago

  • Status changed from New to Some day maybe

#2 Updated by Marc Egger 2 months ago

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

#3 Updated by Marc Egger 2 months ago

  • Status changed from New to In Progress

#4 Updated by Marc Egger about 2 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.

Also available in: Atom PDF