Skip to content
Snippets Groups Projects
Commit c31cd727 authored by Daniel Gerhardt's avatar Daniel Gerhardt
Browse files

Fix session import

Readd an empty constructor for deserialization with Jackson. It was
accidentally removed a part of a code clean up in commit
685695a6.
parent a68715b0
1 merge request!49Fix session import
Pipeline #8025 passed with stages
in 2 minutes and 47 seconds
......@@ -155,6 +155,10 @@ public class ImportExportSession {
private List<Answer> answers;
public ImportExportQuestion() {
}
public ImportExportQuestion(Question q) {
setType(q.getType());
setQuestionType(q.getQuestionType());
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment