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

Grade modified timestamp sometimes is not set correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not a bug
    • Affects Version/s: 3.1, 3.2
    • Fix Version/s: None
    • Component/s: Assignment
    • Labels:
      None
    • Testing Instructions:
      Hide

      1. Create an assignment within a course with 1 teacher and 1 student.
      2. As a student, just access an assignment.
      3. Check that a new record in assign_submission was created. Notice the timemodified timestamp.
      4. As a teacher, go in to assignment grading view, navigate to the new grading interface for that student.
      5. Check that a new record in assign_grades was created. Notice timecreated and timemodified values. They're different, timecreated > timemodified, and g.timemodified === s.timemodified.

      Show
      1. Create an assignment within a course with 1 teacher and 1 student. 2. As a student, just access an assignment. 3. Check that a new record in assign_submission was created. Notice the timemodified timestamp. 4. As a teacher, go in to assignment grading view, navigate to the new grading interface for that student. 5. Check that a new record in assign_grades was created. Notice timecreated and timemodified values. They're different, timecreated > timemodified, and g.timemodified === s.timemodified.
    • Affected Branches:
      MOODLE_31_STABLE, MOODLE_32_STABLE

      Description

      There are some strange issues going on with assign_grades records. Sometimes it takes assign_submission.lastmodified timestamp and saves it as assign_grades.lastmodified, thus generating faulty 'requires grading' reports. It can even be the case when assign_grades.timecreated is bigger that assign_grades.lastmodified!

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: