![]() if something goes wrong, but not so wrong that the entire export or import fails (so there is no captured exception), it's essentially impossible to review logs of the migration. if we store the job id, we can provide it to the log-downloader script. test plan: 1. a. perform a common cartridge export b. in the console, examine ContentExport.last and ensure settings[:job_id] is set c. look at log/delayed_job.log and verify the log lines for the recent export include that id 2. a. perform a course copy b. in the console, examine ContentMigration.last and ensure migration_settings[:job_ids] contains a job id 3. a. perform a common cartridge import, choosing to import everything b. same as 2(b) 4. a. perform a common cartridge import, choosing to import selectively b. make some kind of selection and complete the import c. ensure migration_settings[:job_ids] contains two job ids (one for each stage of the migration) flag = none closes LS-2730 Change-Id: I5d4028f4384111a06fa10d6327dce99c487fb9d6 Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/275929 Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com> Reviewed-by: Nate Armstrong <narmstrong@instructure.com> QA-Review: Nate Armstrong <narmstrong@instructure.com> Product-Review: Jeremy Stanley <jeremy@instructure.com> |
||
---|---|---|
.. | ||
external_content | ||
helpers | ||
validators | ||
worker | ||
archive.rb | ||
error.rb | ||
migrator.rb | ||
migrator_helper.rb | ||
package_identifier.rb | ||
worker.rb | ||
xml_helper.rb |