There is 1 update.
 
 
Book Versions / cid:jira-generated-image-avatar-69427914-f248-4857-8d86-61bf599c2c98 BVERSION-196 Open

Switching a collection top page to versioned removes its book/library object

 
View issue   ยท   Add comment
 

1 update

 
cid:jira-generated-image-avatar-ae04ffcf-f578-4aa2-815f-8c0686dec4a5 Changes by Mathieu Pace on 27/Mar/25 16:47
 
Description: h1. Reproduction steps
# Create a new book
# Create a version
# Go to the book top page
# In the "Versions" menu, select "Convert to versioned"

h1. Result

After the redirection, the page is empty and the navigation panel is absent.

When looking at the objects, the BookPageClass object is absent, which is the reason for the weird behaviour.

h1. Explanation

When switching the top page to versioned, the unversioned page is copied as versioned, but the top page is "reseted" with a template, removing all the relevant objects from it (Book/LibraryClass but also the PublicationClass).
Instead:
* the top page should remain mostly the same to keep its objects
* the versioned page should be copied from it but remove Book/LibraryClass and PublicationClass objects
* when switching a versioned page to unversioned, the Book/LibraryClass and PublicationClass objects should be kept the same on the top page.