Able to bulk upload source docs when in failed and publishing failed state
cc @jordandc
Expected behaviour
When a chapter component is in a failed state you should NOT be able to upload any documents by any means - per: https://docs.google.com/spreadsheets/d/1M4ZdBbzr2s4-PUXqEblfsKoPBUuk4aG343u9ZAUn_Tk/edit#gid=0
Fix
-
When book component status = "failed" or "publishing failed", block file upload from bulk "Upload chapters" modal. -
Show error for the specific file: Current file version has not been processed. Please retry.
Current behaviour
When a chapter component is in a failed state you can upload documents via bulk upload.
Steps to reproduce
williams.docx had been in failed state:
I uploaded the document via bulk upload and now it is in new upload status:
To reproduce -
- Find a chapter in a failed state
- Download the source file
- Upload it via bulk upload
Priority
Not for migration, but yes for deployment and processing to prevent content errors.