diff --git a/app/system/actors/ExamAutoSaverActor.scala b/app/system/actors/ExamAutoSaverActor.scala index b5345a7c8..6353a4b54 100644 --- a/app/system/actors/ExamAutoSaverActor.scala +++ b/app/system/actors/ExamAutoSaverActor.scala @@ -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 diff --git a/ui/src/app/calendar/calendar.component.ts b/ui/src/app/calendar/calendar.component.ts index a067beb0b..017213d70 100644 --- a/ui/src/app/calendar/calendar.component.ts +++ b/ui/src/app/calendar/calendar.component.ts @@ -176,7 +176,6 @@ export class CalendarComponent implements OnInit { isCollaborative: this.isCollaborative, }, }), - error: (err) => this.toast.error(err), }); }