Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-3959

Assessment tool: RS appears when score is configured without setting passed

    XMLWordPrintable

    Details

      Description

      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;
       		}
       	}
       	
      

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              stephan Stephan Clemenz
              Tester:
              Mandy Menzel
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 20 minutes
                20m