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

Error restoring IMS CC moodle backup (on the same system)

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_24_STABLE

      Description

      1. Created an IMS CC 1.1 course backup for course "Moodle Features" on qa.moodle.net (Successfully)
      2. Started to restore it into a new course (on the same system I created the backup file on)
      3. Got an error: "error/xml_writer_end_tag_no_match"

      error/xml_writer_end_tag_no_match
       
      More information about this error
       
      Debug info: 
      Error code: xml_writer_end_tag_no_match
      $a contents: stdClass Object
      (
      [lastopen] => question_categories
      [tag] => questions
      )
      Stack trace:
      line 196 of /backup/util/xml/xml_writer.class.php: xml_writer_exception thrown
      line 1267 of /backup/converter/moodle1/handlerlib.php: call to xml_writer->end_tag()
      line 413 of /backup/converter/moodle1/lib.php: call to moodle1_question_bank_handler->on_questions_end()
      line 766 of /backup/converter/moodle1/lib.php: call to moodle1_converter->path_end_reached()
      line 230 of /backup/util/xml/parser/processors/simplified_parser_processor.class.php: call to moodle1_parser_processor->notify_path_end()
      line 196 of /backup/util/xml/parser/processors/simplified_parser_processor.class.php: call to simplified_parser_processor->process_pending_startend_notifications()
      line 102 of /backup/util/xml/parser/processors/grouped_parser_processor.class.php: call to simplified_parser_processor->after_path()
      line 183 of /backup/util/xml/parser/progressive_parser.class.php: call to grouped_parser_processor->after_path()
      line 263 of /backup/util/xml/parser/progressive_parser.class.php: call to progressive_parser->inform_end()
      line ? of unknownfile: call to progressive_parser->end_tag()
      line 158 of /backup/util/xml/parser/progressive_parser.class.php: call to xml_parse()
      line 137 of /backup/util/xml/parser/progressive_parser.class.php: call to progressive_parser->parse()
      line 150 of /backup/converter/moodle1/lib.php: call to progressive_parser->process()
      line 129 of /backup/converter/convertlib.php: call to moodle1_converter->execute()
      line 209 of /backup/util/helper/convert_helper.class.php: call to base_converter->convert()
      line 421 of /backup/controller/restore_controller.class.php: call to convert_helper::to_moodle2_format()
      line 35 of /backup/restore.php: call to restore_controller->convert()
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                nadavkav Nadav Kavalerchik
                Participants:
                Component watchers:
                Adrian Greeve, Mihail Geshoski, Peter Dias, Darko Miletic, Adrian Greeve, Mihail Geshoski, Peter Dias
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: