Collection covers with "apply to all books in this collection" does not fully add those covers to each book
Expected behaviour
This user story is expected to be met -
As a System Admin or Org Admin, upload a cover to a collection which can optionally apply to all the books in the collection.
Current behaviour
When user turns on toggle in a collection metadata UI to apply that collection over to all books in this collection it does not add that cover for each book so that it will display on all Bookshelf site(s) - as tested that covers for those books are not sent via pipeline to - Bookshelf/thumbs/dev
directory
Steps to reproduce
- User uploaded thumb to UI for collection
- User turned on toggle to apply that thumb to all books in this collection
- User sees the thumb in metadata tab for all books in that collection
- User does not see that the thumb for each book in collection was sent to NCBI for display on their site(s) -- [Step 3 in the covers submission workflow](#751 (closed) does not happen "submit to FTP dir:
/covers/
"
Priority
Y, a minimal solution must be put in place for deployment
QA steps
- Go to a collection which has some books (Or create one and add books)
- At the collection metadata modal, upload a cover and turn on the toggle to
apply the cover to all books in the collection
. - In the
covers
folder in a few minutes see that 1 package will be sent for the collection and one for each of the books that are part of the collection. To confirm it is correct we check the domain names from the UI match with the packages.
Alternatively, you can check that when a book has a cover and you change the toggle to ON, it will be sent for all books in the covers
folder.