Skip to content

Allow openassessment xblock to clear state - #862

Closed
efischer19 wants to merge 1 commit into
masterfrom
efischer/delete_state
Closed

Allow openassessment xblock to clear state#862
efischer19 wants to merge 1 commit into
masterfrom
efischer/delete_state

Conversation

@efischer19

Copy link
Copy Markdown
Contributor

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.

Sibling change to https://github.com/edx/edx-platform/pull/11371 and openedx/edx-submissions#33

@efischer19
efischer19 force-pushed the efischer/delete_state branch 4 times, most recently from eea2810 to d5cd40a Compare February 3, 2016 21:03
@efischer19 efischer19 changed the title WIP delete student state Allow openassessment xblock to clear state Feb 3, 2016
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
efischer19 force-pushed the efischer/delete_state branch from d5cd40a to 1022113 Compare February 3, 2016 21:15
@efischer19 efischer19 closed this Feb 18, 2016
@efischer19
efischer19 deleted the efischer/delete_state branch February 25, 2016 20:48
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.

1 participant