openlibrary icon indicating copy to clipboard operation
openlibrary copied to clipboard

Most authors cannot be deleted because of dangling references on editions which cannot be changed

Open cdrini opened this issue 5 years ago • 3 comments

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

  1. Go to https://openlibrary.org/authors/OL3099625A/Delete_duplicate
  2. 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

cdrini avatar Apr 28 '20 17:04 cdrini

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?

drakene avatar Feb 08 '21 17:02 drakene

AFAICT yes it would. Author records should only be linked via work records, never directly from edition records.

LeadSongDog avatar Feb 10 '21 05:02 LeadSongDog

Priority increased due to @seabelis feedback

mekarpeles avatar Sep 15 '23 17:09 mekarpeles