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

undefined content in throw new restore_decode_processor_exception('incorrect_restore_decode_rule', get_class($content));

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.1.5, 2.2.2
    • Component/s: Backup
    • Labels:

      Description

      in restore_decode_processor, method restore_decode_processor::add_rule()...

      throw new restore_decode_processor_exception('incorrect_restore_decode_rule', get_class($content));

      ...should be...

      throw new restore_decode_processor_exception('incorrect_restore_decode_rule', get_class($rule));

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            skodak Petr Skoda added a comment - - edited

            to integrators: please cherry pick to stable branches

            Show
            skodak Petr Skoda added a comment - - edited to integrators: please cherry pick to stable branches
            Hide
            samhemelryk Sam Hemelryk added a comment -

            Sweet thanks Petr - this has been integrated now and cherry-picked to 21 and 22.

            Show
            samhemelryk Sam Hemelryk added a comment - Sweet thanks Petr - this has been integrated now and cherry-picked to 21 and 22.
            Hide
            samhemelryk Sam Hemelryk added a comment -

            Confirmed no testing required

            Show
            samhemelryk Sam Hemelryk added a comment - Confirmed no testing required
            Hide
            stronk7 Eloy Lafuente (stronk7) added a comment -

            Your nice code represents only 1/46 of the issues that have been sent upstream this week, so thanks, but not many.

            Nah, joking, many thanks! Closing this a fixed, ciao

            Show
            stronk7 Eloy Lafuente (stronk7) added a comment - Your nice code represents only 1/46 of the issues that have been sent upstream this week, so thanks, but not many. Nah, joking, many thanks! Closing this a fixed, ciao

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  12/Mar/12