Project

General

Profile

Actions

Bug #15800

closed

jinja templating does not clean up the temp files properly

Added by Félix DALLIDET over 4 years ago. Updated almost 2 years ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Reviewed
Fix check:
Checked
Regression:

Description

When rendering a template, the .new and .json files are kept. We should remove them after each execution.

It is guarded by a class which is not defined anywhere (state_dumped) which is a bug. Moreover, we are trying to remove the files only when we suppose everything went fine.
We should remove the temp file everytime and remove this logic.

Actions

Also available in: Atom PDF