This issue has been created
There are 2 updates, 1 comment.
 
 
Cristal / cid:jira-generated-image-avatar-22619d27-3a7c-49c3-854e-16137140fbdf CRISTAL-329 Open

Creating a nested page fails to add a page with the right name

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-dc5829db-d561-4371-8d3a-15dc84d7ef84 Vincent Massol created this issue on 25/Nov/24 17:51
 
Summary: Creating a nested page fails to add a page with the right name
Issue Type: cid:jira-generated-image-avatar-22619d27-3a7c-49c3-854e-16137140fbdf Bug
Affects Versions: 0.11
Assignee: Unassigned
Created: 25/Nov/24 17:51
Priority: cid:jira-generated-image-static-major-c1000e3a-fcea-4b31-a5fb-f7b92be54290 Major
Reporter: Vincent Massol
Description:

To reproduce:

  • Clean Cristal (remove .cristal dir)
  • edit the root page (call it "Root")
  • Create a page and call it "Page1", save
  • Refresh the tree by changing the design system and notice that there' s a Root page under the Root page... instead of "page1"
 
 

2 updates

 
cid:jira-generated-image-avatar-dc5829db-d561-4371-8d3a-15dc84d7ef84 Changes by Vincent Massol on 25/Nov/24 17:51
 
Description: To reproduce:
* Clean Cristal (remove .cristal dir)
* edit the root page (call it "Root")
* Create a page and call it "Page1", save
* Refresh the tree by changing the design system and notice that there' s a Root page under the Root page... instead of "page1"
. It also has the content of the "Root" page
 
cid:jira-generated-image-avatar-d86b0b7b-8c13-40e3-b5e9-462ef80efbce Changes by Pierre Jeanjean on 25/Nov/24 18:00
 
Assignee: Pierre Jeanjean
 
 

1 comment

 
cid:jira-generated-image-avatar-d86b0b7b-8c13-40e3-b5e9-462ef80efbce Pierre Jeanjean on 25/Nov/24 17:59
 

What's happening here is that, on FileSystem, the page seems to be created after the editor attempted to fetch it. Thus, it keeps the previous page reference and content, preventing the tree to update and setting the wrong name to the new page.