Commit c31cd727 authored by Daniel Gerhardt's avatar Daniel Gerhardt

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
......@@ -155,6 +155,10 @@ public class ImportExportSession {
private List<Answer> answers;
public ImportExportQuestion() {
}
public ImportExportQuestion(Question q) {
setType(q.getType());
setQuestionType(q.getQuestionType());
......
Markdown is supported
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