openlibrary
openlibrary copied to clipboard
Most authors cannot be deleted because of dangling references on editions which cannot be changed
Editions hold a copy of the author OLID, which falls out of sync with the work, and cannot be edited via the UI.
- The root cause of this is #2625
- Related: #3343
Steps to Reproduce
- Go to https://openlibrary.org/authors/OL3099625A/Delete_duplicate
- Press "Delete record"
- Actual:
This Author page cannot be deleted as 1 record(s) still reference this id. Please remove or reassign before trying again. Referenced by: ['/books/OL8796829M'] - Expected: Delete succeeds
Details
- Logged in (Y/N)? Y (admin)
- Browser type/version? FF75
- Operating system? Win10
- Environment (prod/dev/local)? prod
Proposal & Constraints
Related files
Stakeholders
@seabelis
Came across this issue looking for ways to contribute... is the project still having this problem? If it is, would a viable solution be to sync edition authors with work authors except for orphaned editions?
AFAICT yes it would. Author records should only be linked via work records, never directly from edition records.
Priority increased due to @seabelis feedback