-
Notifications
You must be signed in to change notification settings - Fork 140
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
Permanent deletion for Case [5] #7942
Labels
backend
Affects the web backend
cases
data-protection
feature
A new feature to be developed (ticket type)
Milestone
Comments
MartinWahnschaffe
added
backend
Affects the web backend
feature
A new feature to be developed (ticket type)
data-protection
labels
Feb 10, 2022
39 tasks
markusmann-vg
changed the title
Permanent deletion for Case
Permanent deletion for Case [5]
Mar 3, 2022
MateStrysewske
added
vaadin-app
Affects the Vaadin application
android-app
Affects the Android app
and removed
android-app
Affects the Android app
vaadin-app
Affects the Vaadin application
labels
Mar 17, 2022
MateStrysewske
added a commit
that referenced
this issue
Mar 18, 2022
MateStrysewske
added a commit
that referenced
this issue
Mar 18, 2022
MateStrysewske
added a commit
that referenced
this issue
Mar 21, 2022
MateStrysewske
added a commit
that referenced
this issue
Mar 24, 2022
MateStrysewske
added a commit
that referenced
this issue
Mar 24, 2022
MateStrysewske
added a commit
that referenced
this issue
Mar 25, 2022
Ticket checked on local environment with version 1.70.0-snapshot(3309a9f)
|
@richardbartha Version 1.70.0 was released. Please document a bug as follow-up ticket and close this one again. |
Opened ticket nr #8592 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
backend
Affects the web backend
cases
data-protection
feature
A new feature to be developed (ticket type)
Situation Description
Big picture is permanent deletion of core entities as listed in epic #7736.
Feature Description
Important: Currently deleting a case also deletes all of the related contacts. This should no longer be done. Instead:
The logic for most of what is needed here is currently executed in CaseService.delete and needs to be moved. The only thing remaining in CaseService.delete should be the soft deletion of related samples.
Related entities to be deleted in deletePermanent method:
Entites where the Case reference needs to be removed:
Same for the following references, but these also need to be removed on soft-delete -> ideally move this unlinking to a separate method called from both soft- and permanent delete.
Finally:
Since we are not deleting clinical visits etc. anymore when the case is soft-deleted we need to do the following:
Possible Alternatives
Additional Information
The text was updated successfully, but these errors were encountered: