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
Branches
Tags
No related merge requests found
...@@ -155,6 +155,10 @@ public class ImportExportSession { ...@@ -155,6 +155,10 @@ public class ImportExportSession {
private List<Answer> answers; private List<Answer> answers;
public ImportExportQuestion() {
}
public ImportExportQuestion(Question q) { public ImportExportQuestion(Question q) {
setType(q.getType()); setType(q.getType());
setQuestionType(q.getQuestionType()); 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