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

Manual grading marks displays incorrectly when editing manual grades for questions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.5, 3.3.2
    • Fix Version/s: 3.2.6, 3.3.3
    • Component/s: Questions
    • Labels:
    • Testing Instructions:
      Hide
      1. Create a course.
      2. Enrol one student.
      3. Add a quiz activity.
        • Add an essay question and save it.
        • On the editing quiz page, change the maximum mark to 15 for that question.
      4. As student01 attempt and submit the quiz.
      5. As admin/teacher, go to the quiz.
      6. Go to Quiz administration / Results / Manual grading page.
      7. Click "Grade" link for student01
      8. Enter 3 for the mark and save.
      9. Back to the "manual grading page", click the "Upgrade grade" link.
      10. Checkpoint, on the editing page, you will still see 3.
      11. Remove 3 and enter 2. Save it.
      12. Go back and update the grade.
      13. Checkpoint 2, instead of 2.00, you will see 1.99999

      With this patch, you should still see 2.00 and *not 1.99999

      Show
      Create a course. Enrol one student. Add a quiz activity. Add an essay question and save it. On the editing quiz page, change the maximum mark to 15 for that question. As student01 attempt and submit the quiz. As admin/teacher, go to the quiz. Go to Quiz administration / Results / Manual grading page. Click "Grade" link for student01 Enter 3 for the mark and save. Back to the "manual grading page", click the "Upgrade grade" link. Checkpoint, on the editing page, you will still see 3. Remove 3 and enter 2. Save it. Go back and update the grade. Checkpoint 2, instead of 2.00, you will see 1.99999 With this patch, you should still see 2.00 and *not 1.99999
    • Affected Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      When a teacher has entered a whole number in the marks for a question needing manual grading such as essays, sometimes the numbers are not exactly what the teacher has originally entered as displayed during editing the grades.

      A discussion can be seen at https://moodle.org/mod/forum/discuss.php?d=332889.

      As an example, when 2 is entered and saved, it is displayed as 1.9999 when editing the grades.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  13/Nov/17