SEBSERV-417 apply exam_data and connection config after

This commit is contained in:
anhefti 2024-06-19 13:23:13 +02:00
parent df78a6a2a4
commit 34ad7b5177

View file

@ -151,7 +151,8 @@ public class FullLmsIntegrationServiceImpl implements FullLmsIntegrationService
return Result.tryCatch(() -> { return Result.tryCatch(() -> {
final LmsSetup lmsSetup = lmsSetupDAO.byPK(exam.lmsSetupId).getOrThrow(); final LmsSetup lmsSetup = lmsSetupDAO.byPK(exam.lmsSetupId).getOrThrow();
if (lmsSetup.lmsType.features.contains(LmsSetup.Features.LMS_FULL_INTEGRATION)) { if (lmsSetup.lmsType.features.contains(LmsSetup.Features.LMS_FULL_INTEGRATION)) {
return this.applyExamData(exam, !exam.active); this.applyExamData(exam, !exam.active);
this.applyConnectionConfiguration(exam);
} }
return exam; return exam;