From 34ad7b5177840d6ea0c10794643889815daf9691 Mon Sep 17 00:00:00 2001 From: anhefti Date: Wed, 19 Jun 2024 13:23:13 +0200 Subject: [PATCH] SEBSERV-417 apply exam_data and connection config after --- .../servicelayer/lms/impl/FullLmsIntegrationServiceImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/FullLmsIntegrationServiceImpl.java b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/FullLmsIntegrationServiceImpl.java index 0757eef4..2e03df52 100644 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/FullLmsIntegrationServiceImpl.java +++ b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/FullLmsIntegrationServiceImpl.java @@ -151,7 +151,8 @@ public class FullLmsIntegrationServiceImpl implements FullLmsIntegrationService return Result.tryCatch(() -> { final LmsSetup lmsSetup = lmsSetupDAO.byPK(exam.lmsSetupId).getOrThrow(); 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;