CPB with multiple published versions: Url of versions not correct & shows blank page
Expected behavior
For chapter processed books we have a setting support multiple published versions
which allows us to create versions of a book component. We should be able to navigate to different versions via book component page version buttons:
Current behavior
- Initially I had this book component on status published here.
- Clicking the button
New published version
creates a blank page. With the url : https://ncbidev.cloud68.co/organizations/73814fa2-d9fc-44f8-a12a-d3e52c589230/bookmanager/9e6db05f-9fba-44c3-aeaf-36b5395bb2fb/part/#afb5b37c-c5f4-4be7-894d-d93761f08cae/194fc27b-d813-435f-b151-d05446880247 - Going back to the book manager, and opening the book from there, will display the book component on V2 correctly. link here
- Clicking on a previous version shows blank page link here
The issue seems that the link on V1/V2 buttons or next & previous seems to be different from the link when I view from the book manager.
More exactly v2 - when clicked from V2 button on book component is:
ncbidev.cloud68.co/organizations/73814fa2-d9fc-44f8-a12a-d3e52c589230/bookmanager/9e6db05f-9fba-44c3-aeaf-36b5395bb2fb/part/#afb5b37c-c5f4-4be7-894d-d93761f08cae/194fc27b-d813-435f-b151-d05446880247
And when opened from the book manager is:
ncbidev.cloud68.co/organizations/73814fa2-d9fc-44f8-a12a-d3e52c589230/bookmanager/9e6db05f-9fba-44c3-aeaf-36b5395bb2fb/194fc27b-d813-435f-b151-d05446880247#afb5b37c-c5f4-4be7-894d-d93761f08cae
Steps to reproduce
- Create a chapter processed book
- Enable the settings to
support multiple published versions
- Publish one book component
- Create a new published version
- You will see a blank page now
- Go back to book manager and open the book again you will be able to see the v2
- Click V1, now again you will see a blank page
Environment
Firefox, chrome browser on ncbidev
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/N)
- This can be prioritised after deployment 1 (Y/N)
QA Steps
- Create a chapter processed book
- Enable the settings to
support multiple published versions
- Publish one book component
- Create a new published version
- Page of the new version should open correctly
- Move to previous version by clicking V1, and as well using next/previous arrows.