SEBSERV-417 try fix corrupt Moodle data
This commit is contained in:
parent
6a81b3f717
commit
7a3e3a2492
1 changed files with 1 additions and 1 deletions
|
@ -734,7 +734,7 @@ public class ExamAdministrationController extends EntityController<Exam, Exam> {
|
|||
.flatMap(this.sebRestrictionService::applySEBClientRestriction)
|
||||
// TODO temporary try to fix corrupted data on Moodle site
|
||||
.onErrorDo(error -> {
|
||||
if (error.getMessage().contains("error/SEB Server")) {
|
||||
if (error.getMessage().contains("no SebServer Info!")) {
|
||||
log.info("**** try to reset exam_data on Moodle 2.0 with temporary hack... ");
|
||||
fullLmsIntegrationService.applyExamDataToLMS(exam)
|
||||
.onError(e -> log.error("Failed to apply exam data: ", error));
|
||||
|
|
Loading…
Reference in a new issue