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

Notice when restoring a single discussion forum

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.5.1
    • Fix Version/s: None
    • Component/s: Forum
    • Labels:
    • Affected Branches:
      MOODLE_25_STABLE

      Description

      While restoring a Moodle Features Demo course there was a notice:

      Notice: Undefined variable: sillybyrefvar in /home/marina/repositories/master/moodle/mod/forum/backup/moodle2/restore_forum_stepslib.php on line 200
       
      Call Stack:
          0.0002     829648   1. {main}() /home/marina/repositories/master/moodle/backup/restore.php:0
          8.3604   93194648   2. restore_ui->execute() /home/marina/repositories/master/moodle/backup/restore.php:46
          8.3604   93194648   3. restore_controller->execute_plan() /home/marina/repositories/master/moodle/backup/util/ui/restore_ui.class.php:147
          8.3605   93195048   4. restore_plan->execute() /home/marina/repositories/master/moodle/backup/controller/restore_controller.class.php:315
          8.3607   93195048   5. base_plan->execute() /home/marina/repositories/master/moodle/backup/util/plan/restore_plan.class.php:157
         60.6074  104523408   6. restore_activity_task->execute() /home/marina/repositories/master/moodle/backup/util/plan/base_plan.class.php:163
         60.6074  104523408   7. base_task->execute() /home/marina/repositories/master/moodle/backup/moodle2/restore_activity_task.class.php:192
         60.8248  104548712   8. restore_structure_step->execute() /home/marina/repositories/master/moodle/backup/util/plan/base_task.class.php:153
         61.0167  104579488   9. restore_structure_step->launch_after_execute_methods() /home/marina/repositories/master/moodle/backup/util/plan/restore_structure_step.class.php:108
         61.0167  104579944  10. restore_forum_activity_structure_step->after_execute() /home/marina/repositories/master/moodle/backup/util/plan/restore_structure_step.class.php:366
      

      This is a regression from MDL-30102 when function arguments were changed

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              marina Marina Glancy
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: