internetarchive / internetarchive/openlibrary

Author should be a required field on /books/add

Open
#6,565 10 comments 0 reactions 0 assignees View on GitHub
Lead: @cdrini Priority: 3 Type: Bug Type: Proposal
Dominant language
Python
Stars
6.7k
Forks
2k
Avg merge
2d 19h
Merged PRs (30d)
138

Description

Works can be inadvertently created with no stated author.

### Evidence / Screenshot (if possible)
![8AD802F0-806C-4318-AD8C-13A70848F670](https://user-images.githubusercontent.com/11435431/169158559-0052074a-fcbc-4c6e-b72a-c0c87956c14e.png)
![F4C2F5E7-0D71-4617-9AEE-3EFDB145603E](https://user-images.githubusercontent.com/11435431/169158616-489661c6-595b-470c-86e4-0bb43483de31.png)
![C87DA84E-2747-49A8-94EE-AD10F6C1DD0B](https://user-images.githubusercontent.com/11435431/169158654-7cb49d37-439c-4250-9259-814db4add2f7.png)

### Relevant url?

https://openlibrary.org/books/add

### Steps to Reproduce

1. Go to ...
2. Do ...

* Actual:
* Expected:

### Details

- **Logged in (Y/N)?** y
- **Browser type/version?** Safari, Chrome
- **Operating system?** iOS
- **Environment (prod/dev/local)?** prod, testing

### Proposal & Constraints

1. Add asterisk on form to show the field is required
2. Check that at least one author is provided and the user has clicked one of the autocomplete entries

### Related files

### Stakeholders

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.