canvas-lms/gems/plugins
Augusto Callejas 1e7ff0a8c4 Skip setting root account on AB imports
fixes OUT-3710

flag=none

Content migrations now automatically set their
root account from their context. This caused an
issue on Academic Benchmarks imports because the
context was the Site Admin context, which does
not exist in the current shard's accounts table,
causing a foreign key check to fail. Instead,
we skip setting the root account id altogether.

test plan:
  - set up Academic Benchmarks importing
  - create a second shard
  - confirm that importing works in that
    second shard without failing

Change-Id: Ibf1e4c1e94cd788b6c50203bf93bb1d80779b847
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/239741
Reviewed-by: Michael Brewer-Davis <mbd@instructure.com>
Reviewed-by: Pat Renner <prenner@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Pat Renner <prenner@instructure.com>
Product-Review: Augusto Callejas <acallejas@instructure.com>
2020-06-10 18:45:43 +00:00
..
academic_benchmark Skip setting root account on AB imports 2020-06-10 18:45:43 +00:00
account_reports Include concluded courses in outcomes report 2020-06-09 20:08:07 +00:00
moodle_importer spec: various flaky spec fixes 2019-09-10 14:20:41 +00:00
qti_exporter escape html in text/plain qti nodes 2020-05-12 21:10:47 +00:00
respondus_soap_endpoint don't return an error to respondus when no quizzes are found 2020-05-05 15:50:34 +00:00
simply_versioned rails 6: s/update_attributes/update/g 2020-01-09 20:56:35 +00:00