Unable to modify cover and have it accurately processed
Expected behaviour
- When user uploads a modified book or collection cover via the UI it will be processed so the modified cover replaces the old cover in all necessary locations for accurate representation of submitted files.
- When user uploads a modified book cover via FTP for ANY book, it will be processed so the modified cover replaces the old cover in all necessary locations for accurate representation of submitted files
Current behaviour
If user uploads a modified book or collection cover via UI / or posts a modified cover via FTP for ANY book, it fails to process accurately.
Steps to reproduce
- User updated them via cover UI in book metadata tab for bcms3388
- No cover was successfully deposited in pmc-prod/pmc3/Bookshelf/thumbs/dev after 6.30 pm
NOTE -
There are usability issues here, including:
- NO BCMS work history of cover versions in the BCMS
- NO BCMS work history of when covers are sent to BCMS
- NO BCMS work history if covers fail to process
These should be addressed as future improvements that I will log in my records, but interim necessity is have a way for Bookshelf staff to know when a cover fails to process, even if that is including our email(s) in NCBI notifications
Priority
Y, need minimal solution before deployment for being able to support modifications / updates to submitted covers and Bookshelf knowing about all aspects of this
QA steps
Case A:
- Go to a collection which has books.
- Upload a cover and apply it to all the books & Save. For the collection and each book a dedicated package will be sent to the /covers folder.
- Open again collection metadata and change the cover image (while keeping apply all toggle ON) & Save.
- For the collection and each book a dedicated package will be sent again to the /covers folder.
Case B:
- Go to a book metadata
- Update the cover image & Save
- A package will be sent for the updated cover
Case C:
- For an existing XML book which has cover
- Re upload the cover via FTP (for xml books, as pdf is on another issue)
- See that the covers is updated in the ui after some minutes