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

Incorrect detection of the course grade_category during 2.x restore

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1
    • Component/s: Backup
    • Labels:
      None
    • Testing Instructions:
      Hide

      1. Restore the most recent version of the Backup 1.9 reference course attached to MDL-27495
      2. TEST: make sure no debugging warnings are displayed during the restore regarding multiple records found in the grade_categories

      Show
      1. Restore the most recent version of the Backup 1.9 reference course attached to MDL-27495 2. TEST: make sure no debugging warnings are displayed during the restore regarding multiple records found in the grade_categories
    • Affected Branches:
      MOODLE_21_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-28152-course-grade-category

      Description

      When the restore looks for the automatically created course grade_category, multiple records can be returned at the moment due to lax conditions. This throws warning during the restore. This does not affect restores of native MBZ files where course grade_category is the first one in the list (backup 2.0 orders them by parent) so when such file is restored, there is only a single record in the database.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stronk7 Eloy Lafuente (stronk7)
                Reporter:
                mudrd8mz David Mudrák (@mudrd8mz)
                Integrator:
                Eloy Lafuente (stronk7)
                Tester:
                Eloy Lafuente (stronk7)
                Participants:
                Component watchers:
                Adrian Greeve, Mihail Geshoski, Peter Dias
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  1/Jul/11