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

Assignment quick grading stores only 1 decimal place

    Details

    • Testing Instructions:
      Hide

      */ In a mod_assign activity with at least 1 user enrolled in the course, view the assignment.
      */ Go to enter/view grades inside the assignment.
      */ Enter quick grading mode (checkbox at the bottom)
      */ Enter a grade to 2 places (i.e. 12.34)
      */ Click the save button below the table.
      */ Refresh the page and verify the grade in the textbox is still 12.34, NOT 12.3.

      Show
      */ In a mod_assign activity with at least 1 user enrolled in the course, view the assignment. */ Go to enter/view grades inside the assignment. */ Enter quick grading mode (checkbox at the bottom) */ Enter a grade to 2 places (i.e. 12.34) */ Click the save button below the table. */ Refresh the page and verify the grade in the textbox is still 12.34, NOT 12.3.
    • Affected Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      Apologies if this has already been reported - I searched and found nothing.

      When grading assignments and using quick grading to enter grades, the teacher view will only capture and hold decimals to 1 place, regardless of what the course and site default decimal settings are.

      The student's assignment view, user grade report, as well as the instructor's grader report view, all show the correct decimal number for the grade.

      Steps to replicate:
      -Set 'overall decimal places' to 2 in course grade settings (if site default is not already 2)

      • Add basic assignment (not assignment 2.2 type) without advanced grading
      • have student make a submission
      • enter 'View/grade all submissions' screen
      • turn on quick grading
      • save a grade with more than 1 decimal
      • click 'save all quick grading changes'

      Expected result: Grade saved to course decimal place settings

      What actually happens: Grade is saved to only 1 decimal place

      Screenshots attached.

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  9/Sep/13