Bulk publish and reload preview from collection page does not work
Expected behaviour
User should be able to bulk publish and reload preview for books in a status that permits those actions from the collection page.
Current behaviour
Bulk publish and reload preview from collection page does not work.
Steps to reproduce
See: https://nih.webex.com/recordingservice/sites/nih/recording/b739b0f80301103b8eef4ac61bc9e985/playback
Links from the recording:
- Collection: https://ncbi.cloud68.co/organizations/aa8b10ab-a0ea-41f2-897a-1cae9a632296/collectionmanager/7ec91d48-e220-4097-923b-762a02a7675d
- Books
Implementing High-Quality Primary Care
,Meeting Regional STEMM Workforce Needs in the Wake of COVID-19
,A Review of Methods for Detecting Soreness in Horses
, when clicked reload preview from the collection bulk actions nothing happens, and there is a bug on console. However from the book files tab everything works right.
NCBI's priority feedback
Y, because if chapter-processed must do this from collection page in bulk to have updated collection metadata written into chapters.
QA Steps
- Go to a collection page which has XML & PDF wholebooks in it
- If there are not books create or add some XML wholebooks to the collection
- In xml/pdf wholebooks that have converted files in statuses of new upload, loading errors or previewing, you should have the option to click reload preview from the collection manager.
- Select multiple or one of the XML/PDF wholebooks from the collection page and click 'reload preview'
- The books' statuses should update to 'loading preview'
- For books which are on status 'Previewing' & 'Published' by checking the box, you should be able to click 'Publish' by bulk actions on the bottom menubar of the collection manager page.
Those same actions are also valid for the Word Complete books.