content server - viewer does not show updated book/format
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Calibre version: 6.11
OS: Ubuntu 22.04.1 LTS
Browser: Firefox 109.0, Google Chrome 109.0.5414.74
After updating a book/format the viewer of the content server does not show the updated version of the book/format but the old version.
Steps to reproduce:
1) create test.txt on filesystem with content "1"
2) upload test.txt to content server
3) open book in content server for reading
4) shows: "1"
5) change content of test.txt on filesystem to "2"
6) on content server: edit metadata, click "formats", upload "test.txt" from filesystem
a) reload book in viewer on content server => still shows "1"
b) reopen book in viewer => still shows "1"
c) reopen book after deleting "downloaded books" on content server => still shows "1"
d) downloading book from content server and open with system editor => shows "2" (in all cases a-c)
Alternative 1:
6) use calibredb "add_format" to upload new version of test.txt (content: "2")
=> 6a)-d) as before
Alternative 2:
6) use calibredb remove_format "TXT" followed by add_format to upload new version of test.txt (content: "2")
=> 6a)-d) as before
Alternative 3:
6) edit metadata => delete format TXT, upload "test.txt" from filesystem
=> 6a)-d) as before
same with e.g. odt format.
Use the reload button in the viewer controls. The viewer operates of a
locally stored copy and does not change that unless asked to by the
user.