SEBSERV-139 fixed quiz import bug

This commit is contained in:
anhefti 2020-08-26 10:01:09 +02:00
parent 444d2334b4
commit a91192ecbb
2 changed files with 1 additions and 2 deletions

View file

@ -341,7 +341,7 @@ public class ExamForm implements TemplateComposer {
? this.restService.getRestCall(ImportAsExam.class)
: this.restService.getRestCall(SaveExam.class));
final boolean proctoringEnabled = this.restService
final boolean proctoringEnabled = importFromQuizData ? false : this.restService
.getBuilder(GetProctoringSettings.class)
.withURIVariable(API.PARAM_MODEL_ID, entityKey.modelId)
.call()

View file

@ -92,7 +92,6 @@ public class UserServiceImpl implements UserService {
}
};
binder.registerCustomEditor(Long.class, usersInstitutionDefaultEditor);
}
// 1. OAuth2Authentication strategy