Allow openassessment xblock to clear state - #862
Closed
efischer19 wants to merge 1 commit into
Closed
Conversation
efischer19
force-pushed
the
efischer/delete_state
branch
4 times, most recently
from
February 3, 2016 21:03
eea2810 to
d5cd40a
Compare
All the changes here are in support of one goal - openassessmentblock should be able to provide a clear_state method which will: * soft-delete any models that refer to a submission_uuid * passthrough to the submissions api to delete the submission as well Doing this will allow staff the ability to reset student state on ORA problems, which is otherwise impossible. The changes in this commit are an entry point in openassessmentblock, helpers in workflow_ and submission_mixin, and changes to the workflow and assessment models and apis to allow them to be soft deleted. Migrations are needed as a part of this change, they too are included.
efischer19
force-pushed
the
efischer/delete_state
branch
from
February 3, 2016 21:15
d5cd40a to
1022113
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
All the changes here are in support of one goal - openassessmentblock
should be able to provide a clear_state method which will:
Doing this will allow staff the ability to reset student state on ORA problems,
which is otherwise impossible. The changes in this commit are an entry point
in openassessmentblock, helpers in workflow_ and submission_mixin, and changes to
the workflow and assessment models and apis to allow them to be soft deleted.
Migrations are needed as a part of this change, they too are included.
Sibling change to https://github.com/edx/edx-platform/pull/11371 and openedx/edx-submissions#33