Open tfmorris opened 2 years ago
@tfmorris do you have any suggestions on what the characteristics of a solution might look like which closes this issue?
Should it be that edits should be rejected which make no change?
I should have made it clearer that the original edit was a work edit and it created an empty edition revision.
The general fix is for "edits" which don't change anything to not create a new revision. The API might return a 304 Not Modified and the UI might display a warning to the user (since they presumably didn't intend this).
The specific fix is to not shoot yourself in the foot by creating an identical edition revision when the user only edited work metadata (e.g. author)
The work edit referenced in bug report #6016 caused an edition revision with no changes to be created unnecessarily. This confuses the provenance and edit history when someone is listed as having modified the record when they didn't.
Evidence / Screenshot (if possible)
Relevant url?
https://openlibrary.org/books/OL27504584M/Some_Answered_Questions?_compare=Comparer&b=2&a=1&m=diff
Steps to Reproduce
Details
Proposal & Constraints
Related files
Stakeholders