internetarchive / internetarchive/openlibrary

Viewing previous version does not show previous version accurately

Open
#9,075 4 comments 0 reactions 1 assignee Claimed by @scottbarnes View on GitHub
Affects: Data Affects: Librarians Lead: @cdrini Priority: 3 State: Blocked Type: Bug
Dominant language
Python
Stars
6.7k
Forks
2k
Avg merge
2d 19h
Merged PRs (30d)
138

Description

### Problem

Sometimes I need to view the edit history of a record to see what changes were made and when. I count on the preview of the previous version to show me accurate information. Instead, the preview of a previous version shows changes that had not yet been made making it appear as though that data existed prior to the edit I'm reviewing.

#### Evidence / Screenshot
Diff view
Screenshot 2024-04-11 at 17 27 55

Preview of v. 1
Screenshot 2024-04-11 at 17 28 23

Actual v. 1
Screenshot 2024-04-11 at 17 28 34

#### Relevant URL(s)
https://openlibrary.org/books/OL49822191M/Poesie?m=history

### Reproducing the bug

1. Go to ...a record that has been changed incorrectly and does not have an accurate preview of previous versions.
2. Do ... see the inaccuracies as noted in the above example.

* Expected behavior: The version preview should display the previous version accurately.
* Actual behavior: It does not.

### Context

- Browser (Chrome, Safari, Firefox, etc):
- OS (Windows, Mac, etc):
- Logged in (Y/N): Y
- Environment (prod, dev, local): prod

### Notes from this Issue's Lead

#### Proposal & constraints

#### Related files

#### Stakeholders

@scottbarnes

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.