Moodle

Incorrect detection of the course grade_category during 2.x restore

Details

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

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.

Issue Links

Activity

Hide
Eloy Lafuente (stronk7) added a comment -

Greatly spotted, David. On it now...

Show
Eloy Lafuente (stronk7) added a comment - Greatly spotted, David. On it now...
Hide
Eloy Lafuente (stronk7) added a comment -

Integrated, 100% sense

Show
Eloy Lafuente (stronk7) added a comment - Integrated, 100% sense
Hide
Eloy Lafuente (stronk7) added a comment -

Passed 0% tested.

Show
Eloy Lafuente (stronk7) added a comment - Passed 0% tested.
Hide
Eloy Lafuente (stronk7) added a comment -

Yay, this is now part of the just released Moodle 2.1 ! Thanks for all the hard work!

Show
Eloy Lafuente (stronk7) added a comment - Yay, this is now part of the just released Moodle 2.1 ! Thanks for all the hard work!

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved:
    Integration date: