some quiz questions weren't being processed for import
correctly because they were pointing to an AQ and
expected to get the AQ question data
Test Plan:
* Create some quizzes with images in the questions
* Copy the course
* The new course should have the images in the quiz questions
closes#8476
Change-Id: Ieaaef88f9551afa79aa8daab8b784ce388857f48
Reviewed-on: https://gerrit.instructure.com/10591
Reviewed-by: Brian Palmer <brianp@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
If a question bank outside of the course was referenced by
a quiz group the export for its quiz would fail. This fixes
that and tries to connect the group to the same bank on the
import step.
Test Plan:
* Create a question bank on an account and one on a course
* On a different course create a quiz that has two groups that point to each of those banks
* Copy the course to a new one
* The quiz groups should still point to their original banks
closes#8159
Change-Id: Idffb4e7c1ac3d00945d3544a9f0ace4ee241e45a
Reviewed-on: https://gerrit.instructure.com/10119
Reviewed-by: Simon Williams <simon@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
proactively found and fixed varchar(255)'s where we relied on mysql's
silent truncation. added validations for places where we want to
enforce these limits
made it so you can reuse titles/urls of deleted wiki pages, and added
validations to ensure sane urls and prevent orphaned pages
Change-Id: I15bcc0c7a751efba1a0f7548e9989ad2ea1792bf
Reviewed-on: https://gerrit.instructure.com/2935
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Brian Palmer <brianp@instructure.com>