Skip to content

Commit

Permalink
CSCEXAM-1379 Fix exam auto-saving problem
Browse files Browse the repository at this point in the history
- also get rid of one useless error note on UI when canceling an
  external reservation
  • Loading branch information
lupari committed Oct 25, 2024
1 parent 8404bf8 commit 1f0fde8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions app/system/actors/ExamAutoSaverActor.scala
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ class ExamAutoSaverActor @Inject (private val composer: EmailComposer, private v
participation.setDeadline(deadline)
participation.save()
logger.info(s"Setting exam ${exam.getId} state to REVIEW")
exam.setState(Exam.State.REVIEW)
exam.save()
if exam.isPrivate then
// Notify teachers
Expand Down
1 change: 0 additions & 1 deletion ui/src/app/calendar/calendar.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ export class CalendarComponent implements OnInit {
isCollaborative: this.isCollaborative,
},
}),
error: (err) => this.toast.error(err),
});
}

Expand Down

0 comments on commit 1f0fde8

Please sign in to comment.