-
Bug
-
Resolution: Fixed
-
Minor
-
3.9.5, 3.10.2, 3.11.5, 4.0.8, 4.1.3, 4.2
-
MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE, MOODLE_401_STABLE, MOODLE_402_STABLE
-
MOODLE_401_STABLE, MOODLE_402_STABLE
-
mdl-7133-401
-
mdl-7133-master
-
In assignment grading when using marking workflow and rubric, the grades are displayed as integers.
Before MDL-69867 they were displayed with decimals.
Attached are screenshots of the grade in view submissions (mod/assign/view.php?id=xxx&action=grading), and marking workflow before and after MDL-69867 (mod/assign/view.php?id=xxx&action=grader&userid=xxx)
Example:
The student got a grade on 3.5 from 5. This is displayed in "View all submissions" as "3.50 / 5.00".
Expected result:
"Current grade in assignment" should display the grade as decimal. The grade was displayed as "3.5" before MDL-69867.
Actual result:
"Current grade in assignment" displays the grade as "3 / 5" (integer, not decimal).
Steps to reproduce:
As admin:
- Create a Course
As teacher:
- Enrol a Student in the course.
- Create an Assignment in Course.
- Set "Grade" to "Point" and "Grading method" to "Rubric"
- Set "Use marking workflow" to "Yes".
- In "Advanced grading" define a rubric with at least two criteria.
As student:
- Submit an assignment.
As teacher:
- Open assignment and grade.
- Grade the student's submission using the rubric and change the Marking workflow state to "In review".
- Save changes.
- Confirm that decimals are shown in "Current grade in assignment".