-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: On bookcover change UI fails to update #624
Comments
@LeadSongDog why is #628 relevant to this one? I think the issue here is javascript related. When a book's bookcover is updated (specifically, I think, on the |
@mekarpeles My comment there of Dec 14, 2017 showed similar behavior. The work records show outdated info until the work bookcover is updated. To reproduce this, find any inverted author name such as "Smith, Jane" where that author has a listed work with a cover image. Disinvert the author name to "Jane Smith". The work will continue to show "Smith, Jane". Replace the book cover: (copy, delete, re-add). The work list will now show "Jane Smith". A similar, but distinct behaviour happens when works are reattributed to a different author record. ` | |` |
@mekarpeles There are some interesting variations in the way these templates are done. Some hard-code the image height, others the width, others neither. Only four show $_('by') those all being under openlibrary/templates/covers/ and each of those four include class="cover" in the img tag. Some also have itemprop="image" in the img tag. Do these variations make sense? |
Can I get an update on this since lots has changed? Is this still a problem? Could the description be updated to explain how to replicate? |
@jdlrobson The cover at https://openlibrary.org/books/OL10345311M/Prealgebra_-_Math_N_48 still shows a break in the surname, so it clearly is not using live or even recently-cached data. |
However, a new edit at https://openlibrary.org/authors/OL3351423A/Charles_P._Mckeague?b=2&a=1&_compare=Compare&m=diff was promptly reflected on the cover, so there has been progress. |
Let's keep search stuff separate and focus issue this in the Javascript bug that @mekarpeles reported. |
@tfmorris What search stuff? |
Oh, perhaps I misunderstood @mekarpeles original post. By "page is refreshed" did you intend "browser cache is cleared" or "the served page is refreshed"? |
I think this is now fixed |
When you change a work's bookcover, after submit, the previous cover shows until the page is refreshed
The text was updated successfully, but these errors were encountered: