Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-71133

Grade decimals are missing prior to the release of grades when using the marking workflow

XMLWordPrintable

    • 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
    • Hide
      • Create a course
      • Enrol a student
      • Create an assignment
      • Set "Use marking workflow" to Yes
      • Set "Use marking allocation" to Yes
      • Grade the student with 4.5

      In " Current grade in assignment " you should see 4.5.

      • Set marking workflow state of the assignment to " Marking workflow state " to "Released"

      In " Current grade in gradebook " you should see 4.5

       

      Show
      Create a course Enrol a student Create an assignment Set "Use marking workflow" to Yes Set "Use marking allocation" to Yes Grade the student with 4.5 In " Current grade in assignment " you should see 4.5. Set marking workflow state of the assignment to " Marking workflow state " to "Released" In " Current grade in gradebook " you should see 4.5  

      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".

        1. after-mdl-69867.png
          after-mdl-69867.png
          9 kB
        2. before-mdl-69867.png
          before-mdl-69867.png
          8 kB
        3. MDL-71133.png
          MDL-71133.png
          291 kB
        4. view-submissions.png
          view-submissions.png
          3 kB

            jsegarra Juan Segarra Montesinos
            schach Heiko Schach
            Mihail Geshoski Mihail Geshoski
            Ilya Tregubov Ilya Tregubov
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            15 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.