Skip to content
Snippets Groups Projects
Commit 18be5dc5 authored by srosse's avatar srosse
Browse files

no-jira: fix issue with deleted roll call in 13.0 upgrader

parent a340f865
No related branches found
No related tags found
No related merge requests found
......@@ -238,7 +238,7 @@ public class OLATUpgrade_13_0_0 extends OLATUpgrade {
Long rollCallKey = auditLog.getRollCallKey();
if(rollCallKey != null) {
LectureBlockRollCall call = lectureService.getRollCall(new LectureBlockRollCallRefImpl(rollCallKey));
if(call.getAppealDate() == null) {
if(call != null && call.getAppealDate() == null) {
call.setAppealDate(auditLog.getCreationDate());
call.setAppealStatus(LectureBlockAppealStatus.oldWorkflow);
lectureService.updateRollCall(call);
......
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