If BCMS is unable to place chapter in the TOC, prevent user from publishing chapter until error is fixed
Current behaviour
User can publish chapter even though chapter cannot be placed in TOC, because the ordering value is missing.
Proposed extension to functionality
As in #753 (closed) point 4 ('Do not permit user to publish the chapter until that error is fixed') we should prevent publishing of the chapter if it can't be placed in the TOC.
Steps to reproduce
- Go to a chapter that has the 'TOC?' icon beside it because it cannot be placed in TOC
- Publish the chapter
Environment
[Provide browser name and version and if you're working from a PC or Mac]
Possible solution
Possible do this with other pre-publishing checks, such as checks for duplicates before publishing.
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
- Go to a chapter that has the 'TOC?' icon beside it because it cannot be placed in TOC
- See that you cannot publish the chapter until you place it in the TOC by adding the relevant ordering value