internetarchive / internetarchive/openlibrary

Web based Add Book creates malformed entries if there's no author

Open
#2,689 2 comments 0 reactions 0 assignees View on GitHub
Affects: Data Affects: UI Lead: @scottbarnes Needs: Investigation Priority: 3 Type: Bug
Dominant language
Python
Stars
6.7k
Forks
2k
Avg merge
2d 19h
Merged PRs (30d)
138

Description

Related #2116 https://github.com/internetarchive/openlibrary-client/issues/126

When a book is entered through the web UI and the user doesn't provide an author, the author entry is incorrectly formatted as described in the two related issues.

### Evidence

See the increasing counts and list of newly created works at https://github.com/internetarchive/openlibrary-client/issues/126

### Steps to Reproduce

I didn't attempt to reproduce, but the empirical evidence is that an additional 4,000 of these entries were created this year.

* Actual: record have an author object with a type, but no value
* Expected: authors should just be an empty list instead.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.