can publish Collection TOC twice in a short time span
Expected behaviour
User should not be able to trigger TOC publication while the TOC is in active status publishing
Current behaviour
user can trigger a TOC publication and immediately trigger it again. it creates a Task manager session for each ocurrence
Steps to reproduce
127.0.0.2_3390_-_Remote_Desktop_Connection_2022-08-19_12-28-12
- trigger a TOC publication for a collection
- see that status changed to "publishing"
- see that publish TOC button is still available and can be clicked
- click publish again
- see that two task manager sessions are created, one for each trigger
Environment
[Provide browser name and version and if you're working from a PC or Mac]
Possible solution
Make sure page is refresh as per #1382 (closed), so that statuses and actions available are up to date.
NCBI's priority feedback
[Select "Y" or "N" and provide an explanation]
- This bug is blocking NCBI's work on migration planning for deployment 1 (Y/N)
- This can be prioritised after deployment 1 (Y/N)
QA Steps
- Publish a wholebook or the TOC of a chapter-processed book
- Create a collection and add one (or more) published books
- Publish the TOC of the collection
- Check that
Update published version
button is disabled until the collection TOC is published