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

IMS-CC Backup of courses containing file shortcuts fail with 'unable to copy files!'

XMLWordPrintable

    • MOODLE_23_STABLE

      Create a course with file links/shortcuts, select backup, check IMS CC, it will fail with error message 'unable to copy files!' with a (partial) stacktrace of:

      Default exception handler: Exception - Unable to copy files! Debug:
      Error code: generalexceptionmessage
      * line 180 of /backup/cc/cc_lib/cc_utils.php: RuntimeException thrown
      * line 216 of /backup/cc/cc_lib/cc_utils.php: call to cc_helpers::add_files()
      * line 40 of /backup/cc/cc_lib/cc_converter_resource.php: call to cc_helpers::handle_resource_content()

      The same course, without file links, exports OK.

      Also note that the error message is way too terse to allow any meaningful error reporting...

            darko.miletic Darko Miletic
            al_form2000 Alessandro Forghieri
            Votes:
            1 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.