![]() Also adds backtrace to TII helper error emails Fixes CNVS-31702 Test plan: * Setup TII as an LTI tool * As a teacher, create a new assignment * As a student, submit the assignment * Start rails console * a = Assignment.find(<assignment_id>) * s = a.submissions.first * s.turnitin_data = { last_processed_attempt: 1, "attachment_42" => { status: "error", outcome_response: { outcomes_tool_placement_url: "https://api.turnitin.com/api/lti/1p0/invalid?lang=en_us", paperid: "607954245", lis_result_sourcedid: "10-5-42-8-invalid" }, public_error_message: "Turnitin has not returned a score after 11 attempts to retrieve one." } } * s.save * s.retrieve_lti_tii_score It should return nil (and definitely not crash with "undefined method `key?' for 1:Fixnum") Change-Id: I12929a002b746bdce65373ba23439fa5757e54d2 Reviewed-on: https://gerrit.instructure.com/89865 Reviewed-by: Keith T. Garner <kgarner@instructure.com> Tested-by: Jenkins QA-Review: KC Naegle <knaegle@instructure.com> Product-Review: Keith T. Garner <kgarner@instructure.com> Product-Review: Neil Gupta <ngupta@instructure.com> |
||
---|---|---|
Gemfile.d | ||
app | ||
bin | ||
client_apps | ||
config | ||
db/migrate | ||
doc | ||
docker-compose | ||
frontend_build | ||
gems | ||
guard | ||
lib | ||
public | ||
script | ||
spec | ||
.babelrc | ||
.bowerrc | ||
.dockerignore | ||
.fontcustom-manifest.json | ||
.gitignore | ||
.i18nignore | ||
.i18nrc | ||
.jshintrc | ||
.npmrc | ||
.nvmrc | ||
.rubocop.yml | ||
.selinimumignore | ||
.travis.yml | ||
CONTRIBUTING.md | ||
COPYRIGHT | ||
Gemfile | ||
Guardfile | ||
LICENSE | ||
README.md | ||
Rakefile | ||
bower.json | ||
code_of_conduct.md | ||
config.ru | ||
docker-compose.yml | ||
gulpfile.js | ||
issue_template.md | ||
karma.conf.js | ||
package.json | ||
webpack.config.babel.js | ||
webpack.production.config.babel.js | ||
webpack.test.config.babel.js |
README.md
Canvas LMS
Canvas is a new, open-source LMS by Instructure Inc. It is released under the AGPLv3 license for use by anyone interested in learning more about or using learning management systems.
Please see our main wiki page for more information
Installation
Detailed instructions for installation and configuration of Canvas are provided on our wiki.