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

Manual grading marks displays incorrectly when editing manual grades for questions

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.2.5, 3.3.2
    • 3.2.6, 3.3.3
    • Questions
    • MOODLE_32_STABLE, MOODLE_33_STABLE
    • MOODLE_32_STABLE, MOODLE_33_STABLE
    • 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

    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

              timhunt Tim Hunt
              jebarvia Joshua Ebarvia
              Luca Bösch Luca Bösch
              Andrew Lyons Andrew Lyons
              Ryan Wyllie Ryan Wyllie
              Safat Shahin, Tim Hunt, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Kevin Percy, Laurent David, Mathew May, Mihail Geshoski, Sabina Abellan, Sara Arjona (@sarjona), Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                13/Nov/17