Can't publish/update published TOC on collection with custom groups
Expected behaviour
We should be able to publish or update published version of TOC for collection, if there is at least one wholebook with status published or one chapter processed book with a published TOC.
Current behaviour
Button to publish or update published version, becomes inactive if we add custom groups to the collection
Steps to reproduce
- Create a collection which supports custom groups (do not add custom groups yet)
- Add a book to the collection with status published or publish it
- When the book has status published, check the collection TOC. You should be able to click publish (don't clik)
- Go back to collection manager and add a custom group
- Go again at the collection TOC. Refresh the page befor (because of issue 1382). You can see now that the publish button is disabled. While the rules to be active should not change with the presence of custom groups.
Environment
[Provide browser name and version and if you're working from a PC or Mac]
Possible solution
[Not required. Suggest a fix for the bug]
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)
- This can be prioritised after deployment 1 (Y)
QA Steps
[To be completed by Coko once dev is done]