Skip to content
Snippets Groups Projects
Commit 40f28f95 authored by srosse's avatar srosse
Browse files

OO-417: fix issue where the attempts and the results are 2x saved

parent a2999c65
No related branches found
No related tags found
No related merge requests found
......@@ -177,7 +177,7 @@ public class DefaultNavigator implements Serializable {
info.setStatus(QTIConstants.ASSESSMENT_FINISHED);
info.setRenderItems(false);
if(delegate != null) {
if(delegate != null && !getAssessmentInstance().isPreview() && !alreadyClosed) {
delegate.submitAssessment(assessmentInstance);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment