[elife] Re-publishing submission after deleting some of its reviews in Hypothes.is results in duplicated reviews
Severity: High
Environment: Local
Steps to reproduce:
- Login and publish a new submission containing all 4 reviews
- From Hypotes.is, delete some, but not all of the 4 reviews
- Re-publish the submission & check Hypotes.is
Expected results: Only the previously deleted reviews should be re-published
Actual results: Some reviews are duplicated - e.g. if 2 reviews have been deleted & the submission was republished, 6 reviews are displayed
Note: Deleting the submission from the app (after re-publish) only deletes the latest 4 reviews, not all 6 of them