Inaccurate Component and File Status
cc @ESgitlab
Expected behaviour
Component and file statuses should be accurate
Current behaviour
Component and file statuses are inaccurate.
Steps to reproduce
Publishing and File Status says "Publishing Failed" with a Domain Service error that was not sent by PMC: Error: Running command: Domain Book Update Command Failed
The ingest passed PMC:
User @ESgitlab described user experience as:
"medicaldevices", failed conversion initially because one PDF file was missing ; even though i loaded that missing file (see capture 1 below), and successfully converted and went in "Preview" mode, nothing happens when I click on "Publish" and the red label "Publishing Failed" is posted, and in "Errors" tab we still have the missing file listed.
NCBI's priority feedback
Y, for deployment - statuses must be accurate and processing reliable
QA Steps
- Create a Word chapter processed book
- Fill the required data on book metadata modal & on the settings modal turn off the toggles on the landing page section
- Download all the files from the book here (https://ncbi.cloud68.co/organizations/d76539be-f270-4daf-9e80-8e9a9511dee4/bookmanager/471f6aa1-9feb-4a02-9f42-53305176df6e/d4ab769b-2109-45e0-a3c6-c5e531a28ad3)
- Upload the source file medicaldevices4.docx to the newly created Word chapter processed book
- Upload all the supplementary files, without including one or two of them
- Submit for conversion
- The result should be loading error, because of missing files. Upload the missing suppl files and reload preview
- The preview should be successful. Example https://ncbi.cloud68.co/organizations/3dc22c09-b3d8-44d1-9dd6-ac9baf69163e/bookmanager/80915251-50ba-452a-a504-907931f79284/7b8c0f61-4e59-469e-9d78-17cfec2341ac. Note that there is a small delay after you click publish to update to publishing, because there are so many files and when the loading button finishes you might need to refresh to confirm it worked.
Note: the link from Stacy was clicked from QA team during testing that why the status now is Published and not Publishing Failed