Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-enable canvas_db_configured_basic_lti_launch view #3320

Merged
merged 2 commits into from
Nov 9, 2021

Conversation

marcospri
Copy link
Member

@marcospri marcospri commented Nov 1, 2021

Until canvas assignments are stored on the DB on creation/editing this view will only handle launches of already present in the DB canvas file assignments (regular and SpeedGrader launches).

The view was disabled after the problems with legacy SpeedGrader launches. This enables it again with a legacy_speedgrader=False to guard against those problems.

In summary, before #3126 is merged, in this PR:

  • All url configured assignments (ie all no canvas-files assignments) use the url_configured_basic_lti_launch view. That includes legacy speedgrader url assignments which where not covered by the functional tests yet.

  • Newly created canvas file assignment will be handled legacy_canvas_file_basic_lti_launch (which will create a new row in the DB)

  • Subsequent launches of those canvas file assignments will be handled by canvas_db_configured_basic_lti_launch

  • Except, when launched as legacy speedgrader, where they will still be handled by legacy_canvas_file_basic_lti_launch

Until canvas assignment are stored on the DB on creation/editing this
view will only handle launches of already present in the DB canvas file
assignments (regular and SpeedGrader launches).
@marcospri marcospri changed the title Enable canvas_db_configured_basic_lti_launch view Re-enable canvas_db_configured_basic_lti_launch view Nov 1, 2021
@marcospri marcospri requested a review from seanh November 1, 2021 14:25
@marcospri marcospri merged commit 4697c1a into master Nov 9, 2021
@marcospri marcospri deleted the use-new-canvas-view branch November 9, 2021 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants