This issue has been created
There are 5 updates.
 
 
Book Versions / cid:jira-generated-image-avatar-e40f28b4-05b2-4d82-89c3-23f7b15a97c9 BVERSION-122 Closed

When creating an unversioned page and switching to versioned and back the wrong parent is used

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-c99fe1a0-c101-4a5b-a582-f491e0378d04 Paul Pantiru created this issue on 30/Jan/25 12:58
 
Summary: When creating an unversioned page and switching to versioned and back the wrong parent is used
Issue Type: cid:jira-generated-image-avatar-e40f28b4-05b2-4d82-89c3-23f7b15a97c9 Bug
Assignee: Unassigned
Components: Version
Created: 30/Jan/25 12:58
Priority: cid:jira-generated-image-static-major-5e6b67c4-07e2-4f5f-9833-3db9f2c20a81 Major
Reporter: Paul Pantiru
Description:

Steps to reproduce:

  • create an unversioned page inside a book
  • switch to versioned using the 'Versions' menu
  • switch back to unversioned

Expected behavior:

  • The document is copied to the WebHome of the same space

Actual behavior:

  • A new sibling page is crated with the name of the book

Reason:
When creating a Page as unversioned initially page document has a parent property set to the name of the book. When creating it as versioned first the document does not have parent set at all.
The current way of getting the parent varies on whether that property is present or not.

 
 

5 updates

 
cid:jira-generated-image-avatar-c99fe1a0-c101-4a5b-a582-f491e0378d04 Changes by Paul Pantiru on 30/Jan/25 12:58
 
Fix Version: 1.0
Assignee: Paul Pantiru
Resolution: Fixed
Status: Open Closed
Labels: priority