From fdcf67faa5015bb365def1d4e09d0e0f6f590d37 Mon Sep 17 00:00:00 2001 From: srosse <none@none> Date: Wed, 7 Jun 2017 11:47:32 +0200 Subject: [PATCH] OO-2806: check the configuration of the course element in the details view of a specific user --- .../olat/ims/qti21/ui/QTI21AssessmentDetailsController.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/olat/ims/qti21/ui/QTI21AssessmentDetailsController.java b/src/main/java/org/olat/ims/qti21/ui/QTI21AssessmentDetailsController.java index 4dcc58b14b6..00dbae27454 100644 --- a/src/main/java/org/olat/ims/qti21/ui/QTI21AssessmentDetailsController.java +++ b/src/main/java/org/olat/ims/qti21/ui/QTI21AssessmentDetailsController.java @@ -157,7 +157,8 @@ public class QTI21AssessmentDetailsController extends FormBasicController { this.assessedUserCourseEnv = assessedUserCourseEnv; testEntry = courseNode.getReferencedRepositoryEntry(); assessedIdentity = assessedUserCourseEnv.getIdentityEnvironment().getIdentity(); - manualCorrections = qtiService.needManualCorrection(testEntry); + manualCorrections = qtiService.needManualCorrection(testEntry) + || IQEditController.CORRECTION_MANUAL.equals(courseNode.getModuleConfiguration().getStringValue(IQEditController.CONFIG_CORRECTION_MODE)); RepositoryEntry courseEntry = assessedUserCourseEnv.getCourseEnvironment().getCourseGroupManager().getCourseEntry(); reSecurity = repositoryManager.isAllowed(ureq, courseEntry); -- GitLab