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

Assignment Grade and Comment out of sync

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.2
    • 2.3.3
    • Assignment
    • MySQL
    • MOODLE_23_STABLE
    • MOODLE_23_STABLE

    Description

      Student grade feedback is showing from different courses.

      To see how many feedbacks are out of sync I run the following query:

      SELECT 
        fb.`assignment` AS fb_assign,
        ag.`assignment` AS grade_assign
      FROM
        mdl_assignfeedback_comments fb,
        mdl_assign_grades ag
      WHERE 
            fb.`grade` = ag.id
        AND ag.`assignment` != fb.`assignment`;

      On our installation I had more than 1000 records. I could not run a simple update to use one specific assignment id because the right one was interchanging.

      I was trying to find the code where this could happened without luck. This make me think that it must be happening during the upgrade to the new question engine Moodle 2.3.1.

      Attachments

        Issue Links

          Activity

            People

              damyon Damyon Wiese
              jackermann Jakob Ackermann
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12/Nov/12