internetarchive / openlibrary

One webpage for every book ever published!
https://openlibrary.org
GNU Affero General Public License v3.0
5.2k stars 1.35k forks source link

Sudden disappearance of items from lists #5894

Closed seabelis closed 1 year ago

seabelis commented 2 years ago

Items have disappeared from lists without being deleted. It's suspected that editing a list on testing.openlibrary.org may cause the issue.

Evidence / Screenshot (if possible)

Relevant url?

Steps to Reproduce

  1. Go to ...https://openlibrary.org/people/agent-lisa/lists/OL202512L?_compare=Compare&b=870&a=869&m=diff
  2. Do ...Notice the difference in items.

Details

Proposal & Constraints

Related files

Stakeholders

@cdrini @dcapillae

dcapillae commented 2 years ago

Maybe related to adding new books to the list from testing.openlibrary.org.

cdrini commented 2 years ago

The leading hypothesis is that this is related to adding books to a list via testing.openlibrary.org ; this is a known bug with testing.openlibrary.org and staging.openlibrary.org . In a nutshell, if you make an edit to a list on production openlibrary.org , then try to add another book via testing, because testing.openlibrary.org has its own cache, it will have an outdated copy of the list, and add the book to the old version ; so the book you added on production will not be there.

It's still not entirely clear, but I tested adding a book on production and didn't see any issues? But the librarians use the lists more, so please let me know if you hit this issue again!

cdrini commented 1 year ago

Haven't gotten any reports of this anymore so thinking it might've been the testing issue.