-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 13.2.1
-
Labels:None
-
Funded by:
In our case a task is configured with score but without setting passed. In assessment tool a RS appears in the identity list table of the course node. This patch fixes the problem for me:
diff --git a/src/main/java/org/olat/course/assessment/ui/tool/IdentityListCourseNodeTableModel.java b/src/main/java/org/olat/course/assessment/ui/tool/IdentityListCourseNodeTableModel.java index e5a1dee..fe856cc 100644 --- a/src/main/java/org/olat/course/assessment/ui/tool/IdentityListCourseNodeTableModel.java +++ b/src/main/java/org/olat/course/assessment/ui/tool/IdentityListCourseNodeTableModel.java @@ -68,7 +68,9 @@ if(courseNode != null && !(courseNode instanceof STCourseNode) && courseNode.hasScoreConfigured()) { maxScore = courseNode.getMaxScoreConfiguration(); minScore = courseNode.getMinScoreConfiguration(); - cutValue = courseNode.getCutValueConfiguration(); + if (courseNode.hasPassedConfigured()) + cutValue = courseNode.getCutValueConfiguration(); + else cutValue = null; } }