-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Recover deleted draft submissions by soft-deleting them when updating…
… the form draft (#1299) * wip: soft-delete draft submissions when drafts get replaced * Fixing tests * renaming and removing unused functions * adding more tests * Migration to support deleted draft subs with shared instanceIds * More experimental tests * Revert migration and let reused sub instance ids result in conflicts * Update comment in lib/model/query/forms.js Co-authored-by: Matthew White <matthew-white@users.noreply.github.com> * another test * exclude draft subs from submission getdeleted query for restoring --------- Co-authored-by: Matthew White <matthew-white@users.noreply.github.com>
- Loading branch information
1 parent
43c2df1
commit 13b29c1
Showing
6 changed files
with
657 additions
and
100 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.