Go to file
James Logan 3fa8ec3567 Modules page doesn't show duplicating/failed_to_duplicate assignments
Launching duplicating/failed_to_duplicate new quizzes assignments
provides no value as the assignments do not yet exist, and is actually
destructive as it will create a blank assignment on the new quizzes
side with no connection to its parent assignment.

closes QUIZ-10828
flag=none

Test Plan:
- Create a BP parent course with a new quizzes assignment.
- ADD THE NQ ASSIGNMENT TO A MODULE.
- Create a child course.
- Ensure your live events are turned off and/or quiz lti is turned off.
- In the canvas rails console run this:
    Setting.set("quizzes_next_timeout_minutes", "1")
- Run a BPS.
- Check the child course.
  1. The Assignments/Quizzes list should have a spinner for the quiz.
  2. The modules list should have no entries.
- Wait 1 minute, then in the Canvas rails console run:
    Assignment.clean_up_duplicating_assignments
- Check the child course.
  1. The assignments/quizzes list should have an 'Oops!' entry for the quiz.
  2. The modules list should have no entries.
- Turn on quiz lti and your canvas live event streams.
- Run another BPS.
- Check the child course.
  1. The assignments/quizzes list should have a valid entry for the quiz.
  2. The modules list should have a valid entry for the quiz.

Change-Id: I971173ebca77e9ecfb152677092bd7f48f789d2b
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/311411
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Product-Review: Marissa Pio Roda <marissa.pioroda@instructure.com>
QA-Review: Weston Dransfield <wdransfield@instructure.com>
Reviewed-by: Stephen Kacsmark <skacsmark@instructure.com>
2023-04-12 16:48:04 +00:00
.github update github reviewers list 2022-06-28 19:24:59 +00:00
.storybook remove persistent-array package 2023-04-10 17:47:41 +00:00
.vscode Add configurations to enable remote IDE debugging with rdebug-ide 2021-09-16 18:33:11 +00:00
Gemfile.d ignore non-directories in plugins dir 2023-04-12 15:23:58 +00:00
app Modules page doesn't show duplicating/failed_to_duplicate assignments 2023-04-12 16:48:04 +00:00
bin rubocop: Layout 2023-04-12 14:57:56 +00:00
build rubocop: Style/TernaryParentheses, Style/RedundantParentheses 2023-04-12 14:56:48 +00:00
config rubocop: Style/TernaryParentheses, Style/RedundantParentheses 2023-04-12 14:56:48 +00:00
db/migrate datafix fill root_account_ids ConversationMessageParticipant 2023-04-05 18:49:19 +00:00
doc rubocop: Style/TernaryParentheses, Style/RedundantParentheses 2023-04-12 14:56:48 +00:00
docker-compose Remove auditor cassandra support 2023-04-03 15:40:22 +00:00
gems rubocop: Layout 2023-04-12 14:57:56 +00:00
hooks Begin opt-in noImplicityAny=true 2023-03-30 22:56:51 +00:00
inst-cli use old docker compose service names 2023-04-06 21:30:48 +00:00
jest Allow disabling the Jest timeout limit 2023-04-05 20:45:14 +00:00
lib rubocop: Layout 2023-04-12 14:57:56 +00:00
log remove deprecated build & log 2023-02-13 16:36:02 +00:00
packages [i18n] Update RCE translations. 2023-04-12 04:50:35 +00:00
public Remove Delicious from Canvas 2023-03-22 15:01:28 +00:00
script rubocop: Style/TernaryParentheses, Style/RedundantParentheses 2023-04-12 14:56:48 +00:00
spec Modules page doesn't show duplicating/failed_to_duplicate assignments 2023-04-12 16:48:04 +00:00
tmp Alpine canvas-lms based image 2020-07-15 17:21:56 +00:00
ui fixes alignment of assignment edit page 2023-04-12 16:24:00 +00:00
ui-build move backbone-identity-map to ui/shared/util 2023-04-10 21:56:29 +00:00
.codeclimate.yml
.dive-ci Spec: Add dive build 2020-03-26 14:52:06 +00:00
.dockerignore (i18n-js:5) flatten translation files 2022-06-27 18:35:04 +00:00
.editorconfig
.eslintignore Speed up ESLint 2022-10-16 21:16:17 +00:00
.eslintrc.js remove .coffee extension from coffeescript imports 2023-04-10 17:01:42 +00:00
.git-blame-ignore-revs Hide Prettier formatting commit from git blame 2022-09-29 22:49:12 +00:00
.gitignore Make brakeman pass on current master 2023-04-10 18:08:26 +00:00
.gitmessage prepend some blank lines to .gitmessage 2019-08-09 16:12:53 +00:00
.groovylintrc.json stop loading webpack-builder image twice before running JS specs 2022-08-17 13:45:40 +00:00
.i18nignore Don't try to extract translations from vendor 2022-03-03 17:48:51 +00:00
.i18nrc (i18n-js:4) use i18nliner-canvas from npm 2022-06-23 18:42:23 +00:00
.irbrc disable irb autocomplete 2022-03-29 21:34:33 +00:00
.lintstagedrc.js Improve pre-commit hook 2023-02-07 18:42:53 +00:00
.npmrc
.nvmrc Upgrade node to latest 16 LTS (gallium) 2023-02-13 17:35:16 +00:00
.prettierrc Use trailing commas where valid in ES5 2022-09-23 19:05:01 +00:00
.rspec spec: automatically require spec_helper 2021-10-26 17:39:19 +00:00
.rubocop.yml fix duplicate rubocop cop configurations 2023-03-30 18:18:35 +00:00
.sentryignore Only upload production source maps to Sentry 2022-03-24 18:17:54 +00:00
.stylelintrc modernize canvas_quizzes 2021-01-14 22:45:10 +00:00
.travis.yml
CONTRIBUTING.md Remove more freenode references 2021-06-02 16:18:53 +00:00
COPYRIGHT
Dockerfile ARG Ruby in Dockerfile is not getting used 2023-03-23 14:46:08 +00:00
Dockerfile.githook
Dockerfile.jenkins ARG Ruby in Dockerfile is not getting used 2023-03-23 14:46:08 +00:00
Dockerfile.jenkins-cache remove not needed fix_inst_esm script 2023-04-04 13:22:12 +00:00
Dockerfile.jenkins.final split vendor overrides into own file 2022-11-30 15:22:04 +00:00
Dockerfile.jenkins.js use bind mounts for cache helper image copies 2022-09-26 11:51:46 +00:00
Dockerfile.jenkins.linters always include git directory in linters image 2023-02-01 16:35:01 +00:00
Dockerfile.jenkins.ruby-runner try to fix bundle install intermittent failure 2022-11-29 19:34:37 +00:00
Dockerfile.jenkins.webpack-assets use bind mounts for cache helper image copies 2022-09-26 11:51:46 +00:00
Dockerfile.jenkins.webpack-builder use bind mounts for cache helper image copies 2022-09-26 11:51:46 +00:00
Dockerfile.jenkins.webpack-cache cache compiled webpack assets 2022-09-27 19:43:55 +00:00
Dockerfile.jenkins.webpack-runner split vendor overrides into own file 2022-11-30 15:22:04 +00:00
Dockerfile.jenkins.yarn-runner stop using yarn install —pure-lockfile 2023-04-11 17:12:54 +00:00
Dockerfile.package-translations remove not needed fix_inst_esm script 2023-04-04 13:22:12 +00:00
Gemfile fix `bundle update <gem>` 2023-03-29 16:41:22 +00:00
Gemfile.rails70.lock.partial update rubocop-tangential-gems 2023-04-11 14:38:49 +00:00
Jenkinsfile fix post-merge failing publishing arm64 docker image 2023-03-22 20:51:44 +00:00
Jenkinsfile.axe always upload junit results as artifact 2022-06-10 15:07:32 +00:00
Jenkinsfile.cassandra fix docker sync job 2021-10-01 15:11:55 +00:00
Jenkinsfile.contract-tests move nodeLabel out of canvas-builds 2023-03-16 19:41:00 +00:00
Jenkinsfile.coverage emsure private defaults are used everywhere 2023-03-23 13:52:36 +00:00
Jenkinsfile.coverage-js convert remaining boolean flags 2023-03-16 18:30:43 +00:00
Jenkinsfile.crystalball emsure private defaults are used everywhere 2023-03-23 13:52:36 +00:00
Jenkinsfile.dive fix jenkins file linter issues autofixable 2021-05-18 16:48:15 +00:00
Jenkinsfile.docker-smoke move nodeLabel out of canvas-builds 2023-03-16 19:41:00 +00:00
Jenkinsfile.docker-sync build ARM64 image for post-merge 2023-03-15 14:07:49 +00:00
Jenkinsfile.dynamodb fix docker sync job 2021-10-01 15:11:55 +00:00
Jenkinsfile.js move nodeLabel out of canvas-builds 2023-03-16 19:41:00 +00:00
Jenkinsfile.junit-uploader move nodeLabel out of canvas-builds 2023-03-16 19:41:00 +00:00
Jenkinsfile.master-bouncer-check-all move withGerritCredentials to global shared library 2023-02-13 16:12:23 +00:00
Jenkinsfile.package-translations use transifex API token instead of username / password 2023-02-06 16:42:35 +00:00
Jenkinsfile.postgres update copyright disclaimer 2021-10-01 15:44:27 +00:00
Jenkinsfile.redis improve readability jenkins redis 2021-11-18 20:17:08 +00:00
Jenkinsfile.rspecq emsure private defaults are used everywhere 2023-03-23 13:52:36 +00:00
Jenkinsfile.selenium.flakey_spec_catcher Remove auditor cassandra support 2023-04-03 15:40:22 +00:00
Jenkinsfile.selenium.performance.chrome remove dead / unused values 2023-03-13 21:28:52 +00:00
Jenkinsfile.test-subbuild fix jenkins file linter issues autofixable 2021-05-18 16:48:15 +00:00
Jenkinsfile.vendored-gems Remove auditor cassandra support 2023-04-03 15:40:22 +00:00
Jenkinsfile.xbrowser fix docker sync job 2021-10-01 15:11:55 +00:00
LICENSE
README.md
Rakefile RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
bower.json
code_of_conduct.md
config.ru rubocop: Style/RedundantConstantBase 2023-04-10 20:56:27 +00:00
docker-compose.new-jenkins-flakey-spec-catcher.yml update fsc to go into the plugin directory to do tests 2020-06-17 14:58:09 +00:00
docker-compose.new-jenkins-js.yml remove translations/_core_en.js in production try 2 2022-02-18 00:08:38 +00:00
docker-compose.new-jenkins-package-translations.yml use transifex API token instead of username / password 2023-02-06 16:42:35 +00:00
docker-compose.new-jenkins-selenium.yml updgrade Jenkins Chrome version 107 2022-12-06 02:28:57 +00:00
docker-compose.new-jenkins.consumer.yml Bump rails 2021-12-23 15:26:13 +00:00
docker-compose.new-jenkins.vendored-gems.yml extract canvas::redis to canvas_cache 2021-03-02 14:38:55 +00:00
docker-compose.new-jenkins.yml don’t perform redundant DB operations in Jenkins test runs 2022-06-01 17:42:18 +00:00
docker-compose.spring.yml (i18n-js:4) use i18nliner-canvas from npm 2022-06-23 18:42:23 +00:00
docker-compose.yml Revert "asset install in Dockerfile" 2021-06-29 13:36:09 +00:00
gulpfile.js Fix yarn install error with @canvas/engine 2022-07-15 14:51:56 +00:00
issue_template.md Update community urls to reflect platform move 2020-08-12 20:17:02 +00:00
jest.config.js move specs from packages/mathml to rce package 2023-03-07 16:35:33 +00:00
karma.conf.js Improve Karma test loading 2022-10-12 18:23:35 +00:00
package.json upgrade moment-timezone 2023-04-11 14:53:52 +00:00
tsconfig-strict.json Begin opt-in noImplicityAny=true 2023-03-30 22:56:51 +00:00
tsconfig.json Prepare assignment data for Individual Gradebook 2023-03-08 20:50:13 +00:00
webpack.config.js move crystalball webpack config into ui-build 2022-01-12 20:19:41 +00:00
yarn.lock upgrade moment-timezone 2023-04-11 14:53:52 +00:00

README.md

Canvas LMS

Canvas is a modern, open-source LMS developed and maintained 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.