SEBSERV-139 fixed quiz import bug
This commit is contained in:
parent
444d2334b4
commit
a91192ecbb
2 changed files with 1 additions and 2 deletions
|
@ -341,7 +341,7 @@ public class ExamForm implements TemplateComposer {
|
||||||
? this.restService.getRestCall(ImportAsExam.class)
|
? this.restService.getRestCall(ImportAsExam.class)
|
||||||
: this.restService.getRestCall(SaveExam.class));
|
: this.restService.getRestCall(SaveExam.class));
|
||||||
|
|
||||||
final boolean proctoringEnabled = this.restService
|
final boolean proctoringEnabled = importFromQuizData ? false : this.restService
|
||||||
.getBuilder(GetProctoringSettings.class)
|
.getBuilder(GetProctoringSettings.class)
|
||||||
.withURIVariable(API.PARAM_MODEL_ID, entityKey.modelId)
|
.withURIVariable(API.PARAM_MODEL_ID, entityKey.modelId)
|
||||||
.call()
|
.call()
|
||||||
|
|
|
@ -92,7 +92,6 @@ public class UserServiceImpl implements UserService {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
binder.registerCustomEditor(Long.class, usersInstitutionDefaultEditor);
|
binder.registerCustomEditor(Long.class, usersInstitutionDefaultEditor);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 1. OAuth2Authentication strategy
|
// 1. OAuth2Authentication strategy
|
||||||
|
|
Loading…
Add table
Reference in a new issue