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

Course backup contains empty 'contenthash' value in files.xml

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None
    • 2.5.1
    • Backup
    • MySQL
    • MOODLE_25_STABLE
    • Hide

      1. open course
      2. try to restore a section from the restore file

      Show
      1. open course 2. try to restore a section from the restore file
    • 13
    • BACKEND Sprint 6

      (this is my first bug report, apologies if I miss anything)

      When trying to restore a course, we receive the below message

      Unknown exception related to local files (Invalid file path)

      Debug: Error code: storedfileproblem *
      line 893 of \lib\filestorage\file_storage.php: file_exception thrown * line 906 of \backup\util\dbops\restore_dbops.class.php: call to file_storage->create_directory() *
      line 1520 of \backup\moodle2\restore_stepslib.php: call to restore_dbops::send_files_to_pool() *
      line 34 of \backup\util\plan\restore_execution_step.class.php: call to restore_course_legacy_files_step->define_execution() *
      line 153 of \backup\util\plan\base_task.class.php: call to restore_execution_step->execute() *
      line 163 of \backup\util\plan\base_plan.class.php: call to base_task->execute() *
      line 157 of \backup\util\plan\restore_plan.class.php: call to base_plan->execute() *
      line 315 of \backup\controller\restore_controller.class.php: call to restore_plan->execute() *
      line 147 of \backup\util\ui\restore_ui.class.php: call to restore_controller->execute_plan() *
      line 46 of \backup\restore.php: call to restore_ui->execute()

            markn Mark Nelson
            sallison Simon Allison (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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