Skip to content

Delete Student State ORA fix (Proof-of-concept) - #32

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

Delete Student State ORA fix (Proof-of-concept)#32
efischer19 wants to merge 1 commit into
masterfrom
efischer/delete_studentitem

Conversation

@efischer19

Copy link
Copy Markdown
Contributor

Not at all the final version of this, but I have tested this locally,
and it deletes what we need to delete and seems to solve all the problems
described in TNL-3880.

Pairs with https://github.com/edx/edx-platform/pull/11371

Not at all the final version of this, but I have tested this locally,
and it deletes what we need to delete and seems to solve all the problems
described in TNL-3880.
@efischer19
efischer19 force-pushed the efischer/delete_studentitem branch from dcad7a6 to 7440723 Compare January 28, 2016 21:46
Comment thread submissions/api.py

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note to reviewers: the default behavior in django is to cascade on delete (https://docs.djangoproject.com/en/1.8/ref/models/fields/, ctrl-F on_delete). Because of this behavior, this single lookup-then-delete will obliterate any trace of this item/student/user triplet in the submissions database.

One thing to investigate - how will this affect data in the assessment and workflow databases? Those entries are almost always keyed on submission['uuid'], so I'd imagine they'll just be orphaned, and possibly still included in a data dump? I'll keep digging there.

@efischer19

Copy link
Copy Markdown
Contributor Author

Closing in favor of #33

@efischer19 efischer19 closed this Feb 1, 2016
@nsprenkle
nsprenkle deleted the efischer/delete_studentitem branch November 12, 2021 20:13
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