Site crash when updating on book settings modal
Expected behavior
We should be able to update the heading level on the book setting modal.
Current behavior
When I open the settings modal and try to update the display heading level, the site crashes.
Steps to reproduce
- Go to a chapter processed book
- Open Settings modal
- Update the display heading level
- Save. The site will crash
Also site will crash if you change ordering or move the book components manually. Book is found here
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
- Go to a chapter processed book
- Open Settings modal
- Update the display heading level
- Save. It should display message that everything was saved successfully and that everything works fine after it.