Skip to content

Delete rerun submission deletes original submission

Placeholder Ihsan Ullah requested to merge submission_rerun_delete_parent into develop

@ mention of reviewers`

@Didayolo`

A brief description of the purpose of the changes contained in this PR.

We had two problems:

  1. When you delete a rerun submission, its original submission is also deleted
  2. When you delete original submission, its rerun submissions are also deleted.

NOW this PR fixes this problem i.e. do not delete original submission when a reun is deleted, similarly do not delete rerun submissions when original is deleted

Issues this PR resolves

A checklist for hand testing

  • upload a submission
  • rerun this submission (it will create a new submission)
  • delete the rerun submission and check that the original submission is NOT deleted
  • rerun the original submission again multiple times
  • delete the original submission and check that the rerun submission are NOT deleted

Checklist

  • Code review by me
  • Hand tested by me
  • I'm proud of my work
  • Code review by reviewer
  • Hand tested by reviewer
  • CircleCi tests are passing
  • Ready to merge

Merge request reports

Loading