Book previews sometimes don't show the preview
[Provide a general summary of the issue in the title above]
Expected behaviour
User can see the preview of the book in the files tab when a preview has been generated or book is published after preview
Current behaviour
The preview just doesn't show and the error in console is
Steps to reproduce
- Go to book that existed before book versions, for example https://ncbi.cloud68.co/organizations/ef36c5c4-d9a7-4188-9254-c61c520fd21f/bookmanager/be7ebf70-fc29-4a5a-85f2-b4ed66eb26b1
- See that preview doesn't display, but it should
Environment
[Provide browser name and version and if you're working from a PC or Mac]
Possible solution
[Not required. Suggest a fix for the bug]
NCBI's priority feedback
[Select "Y" or "N" and provide an explanation]
- This bug is blocking NCBI's work on migration planning for deployment 1 (Y/N)
- This can be prioritised after deployment 1 (Y/N)
QA Steps
Qa for this included generic testing on ncbi site for books with status previewing or publishing to confirm that the previews where showing.