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

Restore broken for 3.4/3.3

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 3.3.1
    • 3.3 regressions, 3.4
    • Backup
    • MOODLE_34_STABLE
    • MOODLE_33_STABLE
    • MDL-59011-master
    • Hide
      1. Restore the attached course as a new course.
      2. Make sure all user data is include configs are checked during restore.
      3. Make sure there are no errors during restore. Check course calendar and make sure there is an event "Manual event" for the month of June 2017
      4. Login as s5 restored user and make sure you see an assign over due event in the month of july.

      Note:- You might get complain from backup about admin user conflict, edit the backup xml users file to get rid of it if needed.

      Show
      Restore the attached course as a new course. Make sure all user data is include configs are checked during restore. Make sure there are no errors during restore. Check course calendar and make sure there is an event "Manual event" for the month of June 2017 Login as s5 restored user and make sure you see an assign over due event in the month of july. Note:- You might get complain from backup about admin user conflict, edit the backup xml users file to get rid of it if needed.
    • 3.4 on-sync

      Try to restore the attached backup.

      Replication steps -

      1. Backup a course with user data
      2. Try and restore the course with the user data
      3. (if restoring to a diff site you might need to resolve admin user conflict)
      4. There might be some specific config set responsible for this, I have an assign activity with groups, calendar events, group overrides, useroverrides.

      It gives the below error -

       

      error/setting_by_name_not_found
       
      More information about this error
       
      Debug info:
      Error code: setting_by_name_not_found
      $a contents: userinfo
      Stack trace:
      line 124 of /backup/util/plan/base_plan.class.php: base_plan_exception thrown
      line 97 of /backup/util/plan/base_task.class.php: call to base_plan->get_setting()
      line 106 of /backup/util/plan/base_task.class.php: call to base_task->get_setting()
      line 2662 of /backup/moodle2/restore_stepslib.php: call to base_task->get_setting_value()
      line 137 of /backup/util/plan/restore_structure_step.class.php: call to restore_calendarevents_structure_step->process_calendarevents()
      line 103 of /backup/util/helper/restore_structure_parser_processor.class.php: call to restore_structure_step->process()
      line 178 of /backup/util/xml/parser/processors/grouped_parser_processor.class.php: call to restore_structure_parser_processor->dispatch_chunk()
      line 91 of /backup/util/helper/restore_structure_parser_processor.class.php: call to grouped_parser_processor->postprocess_chunk()
      line 148 of /backup/util/xml/parser/processors/simplified_parser_processor.class.php: call to restore_structure_parser_processor->postprocess_chunk()
      line 92 of /backup/util/xml/parser/processors/progressive_parser_processor.class.php: call to simplified_parser_processor->process_chunk()
      line 190 of /backup/util/xml/parser/progressive_parser.class.php: call to progressive_parser_processor->receive_chunk()
      line 278 of /backup/util/xml/parser/progressive_parser.class.php: call to progressive_parser->publish()
      line ? of unknownfile: call to progressive_parser->end_tag()
      line 179 of /backup/util/xml/parser/progressive_parser.class.php: call to xml_parse()
      line 158 of /backup/util/xml/parser/progressive_parser.class.php: call to progressive_parser->parse()
      line 110 of /backup/util/plan/restore_structure_step.class.php: call to progressive_parser->process()
      line 181 of /backup/util/plan/base_task.class.php: call to restore_structure_step->execute()
      line 178 of /backup/util/plan/base_plan.class.php: call to base_task->execute()
      line 167 of /backup/util/plan/restore_plan.class.php: call to base_plan->execute()
      line 339 of /backup/controller/restore_controller.class.php: call to restore_plan->execute()
      line 224 of /backup/util/ui/restore_ui.class.php: call to restore_controller->execute_plan()
      line 111 of /backup/restore.php: call to restore_ui->execute()

            ankit_frenz Ankit Agarwal
            ankit_frenz Ankit Agarwal
            Juan Leyva Juan Leyva
            Andrew Lyons Andrew Lyons
            Andrew Lyons Andrew Lyons
            Votes:
            2 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.