Skip to content
Snippets Groups Projects
Commit 0c3f657b authored by srosse's avatar srosse
Browse files

OO-1593: raw data collector can return a null value

parent 5073268b
No related branches found
No related tags found
No related merge requests found
......@@ -747,7 +747,7 @@ public class OLATUpgrade_11_0_0 extends OLATUpgrade {
String username = assessedIdentity.getName();
Map<Date, List<CmiData>> rawDatas = ScormAssessmentManager.getInstance()
.visitScoDatasMultiResults(username, course.getCourseEnvironment(), (ScormCourseNode)courseNode);
if(rawDatas.size() > 0) {
if(rawDatas != null && rawDatas.size() > 0) {
entry.setAssessmentStatus(AssessmentEntryStatus.inProgress);
} else {
entry.setAssessmentStatus(AssessmentEntryStatus.notStarted);
......
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