There is 1 comment.
 
 
Book Versions / cid:jira-generated-image-avatar-063f1805-d3ab-4f4d-9a2c-9f53e570f375 BVERSION-238 Closed

Renaming a version breaks the version, and renaming it back fixes it

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-4d13e1dd-68e3-4432-a9f0-9aabfacd1cb6 Lucian Chevereseanu on 01/Aug/25 14:29
 

I upgraded to version 1.26.1 of the Extension and the issue is still there.

Matheiu noticed that the URL of the page which "loses" the content after renaming the version is different than what it's supposed to be:
If you have a "page A" in the book "MyNewBook" created under version 5, this page will have a parent, and a child:
The parent: /MyNewBook/Page-A/
The child: /MyNewBook/Page-A/5

When you access the page from the Navigation panel, if you chose to click on the parent, you will be redirected to the child page (this behavior is correct) and see the content of the page for version 5.

After you rename the version "5" to, let's say, "P", the redirect from the parent page to the child page breaks. The content of the page is still there, but the redirect no longer works, and it looks like the "content is missing". If you access the child page, or if you manually add the URL, the content is still there.

So in conclusion, with the new name of the version, you have:
The parent: /MyNewBook/Page-A/
The child: /MyNewBook/Page-A/P

The problem is that this redirect breaks. Renaming the version back to it's initial name fixes the redirect