Project

General

Profile

Actions

Bug #7583

closed

Report feedback not working

Added by Radko Krkoš about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Development - GUI
Target version:
Start date:
05/06/2022
Due date:
% Done:

100%

Estimated time:
To be discussed:

Description

As was reported by the then current CSIRTmaster, Mirek Sochor, the report feedback form does not work. The reason is an internal error because a deprecated function was used inside the Jinja template. This is another bug related to migration to Jinja 3.

Here is the removal commit upstream:
https://github.com/pallets/jinja/commit/b0015c72d5acbf93b9d99a1ce6167889338db85b

The argument 'indentfirst' of do_indent() was renamed to 'first'. That is trivial to fix.
Obviously, we must have been ignoring the Deprecation warning. That should be fixed also.


Related issues

Related to Mentat - Bug #7542: mentat-controller.py not working with jinja2 version 3.0.1.ClosedJan Mach12/01/2021

Actions
Related to Mentat - Bug #7587: Deprecation warningsClosedRajmund Hruška06/01/2022

Actions
Actions

Also available in: Atom PDF