Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.0.2
    • Component/s: Backup
    • Labels:
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      throw restore_step_exception('error_question_answers_missing_in_db', $info);
      in restore_qtype_plugin.calss.php

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            stronk7 Eloy Lafuente (stronk7) added a comment -

            Marking as fixed (PULL request created).

            I've been investigating why Helen was getting that error @ qa.moodle.net and concluded it was caused because yesterday I was preparing various backup files for help testing different pull requests, and I ended borking them.

            Today I've re-attached double-verified backup files to all those requests.

            So this is simple: Just add the missing "new" keyword.

            Ciao

            Show
            stronk7 Eloy Lafuente (stronk7) added a comment - Marking as fixed (PULL request created). I've been investigating why Helen was getting that error @ qa.moodle.net and concluded it was caused because yesterday I was preparing various backup files for help testing different pull requests, and I ended borking them. Today I've re-attached double-verified backup files to all those requests. So this is simple: Just add the missing "new" keyword. Ciao
            Hide
            stronk7 Eloy Lafuente (stronk7) added a comment -

            Take two. Finally I've been able to reproduce the problem happening @ qa.moodle.net in my dev environment and, after a bit more of debugging, I've found the cause and, hopefully, the fix.

            So I've created PULL-319 to get this addressed ASAP. To reproduce the problem simply get any backup file containing questions and, on restore, uncheck the "activities" setting.

            Before the patch it was breaking badly, after the patch it should finish smoothly!

            Thanks! Ciao

            Show
            stronk7 Eloy Lafuente (stronk7) added a comment - Take two. Finally I've been able to reproduce the problem happening @ qa.moodle.net in my dev environment and, after a bit more of debugging, I've found the cause and, hopefully, the fix. So I've created PULL-319 to get this addressed ASAP. To reproduce the problem simply get any backup file containing questions and, on restore, uncheck the "activities" setting. Before the patch it was breaking badly, after the patch it should finish smoothly! Thanks! Ciao
            Hide
            stronk7 Eloy Lafuente (stronk7) added a comment -

            Raising to critical as far as it causes any backup to be, depending of the settings, unrestorable.

            Show
            stronk7 Eloy Lafuente (stronk7) added a comment - Raising to critical as far as it causes any backup to be, depending of the settings, unrestorable.

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  21/Feb/11