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

Assignment Grade and Comment out of sync

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.2
    • Fix Version/s: 2.3.3
    • Component/s: Assignment
    • Labels:
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      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

              Assignee:
              damyon Damyon Wiese
              Reporter:
              jackermann Jakob Ackermann
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                12/Nov/12