Bot writers shouldn't need to resolve author merges and redirects
Bug #611426 reported by
Edward Betts
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Open Library |
Confirmed
|
Medium
|
Anand Chitipothu |
Bug Description
Trying to add things to edition records using save_many fails because the validation picks up existing errors in the record, like redirects to authors or deleted authors.
We should either fix all these errors in existing records, or only valid things that have changed in the record.
Changed in openlibrary: | |
assignee: | nobody → Anand Chitipothu (anandology) |
importance: | Undecided → Medium |
status: | New → Confirmed |
To post a comment you must log in.
Author merge work finder is broken.
[4/11/11 4:34:25 PM] Edward Betts: openlibrary. api.OLError: Bad Request: {"message": "expected /type/author, found /type/redirect", "at": {"property": "authors.author", "key": "/works/ OL13415982W" }, "value": "/authors/ OL6304148A" , "error": "bad_data"}
[4/11/11 4:34:33 PM] Edward Betts: I'm having problems handling redirects
[4/11/11 4:34:49 PM] Edward Betts: it would be great if the API could resolve redirects
(This is a feature request.)