We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Diagram save JSON does not include group children when PreventDefaultValues is true.

Hi,

I have a diagram with 

     Diagram.Model.SerializationSettings.PreventDefaultValues = true; 

and when I call 

     $("#DiagramContent").ejDiagram("instance").save(); 

on the client side, any nodes within a group node are not included in the save JSON. 
Then when I load the diagram from this JSON at a later time, all nodes within the group node have disappeared.

Diagram screenshot:


JSON screenshot with PreventDefaultValues = true; (Note: there is no "children" object in the group node)


JSON screenshot with PreventDefaultValues = false; (Note: There is a "children" object in the group node)


2 Replies

RT Ramya Thirugnanam Syncfusion Team February 27, 2019 10:55 AM UTC

Hi David, 
 
Reported issue: Children of the BPMN's group node does not get serialized when PreventDefaultValues is true. 
 
We have confirmed this as a defect. We have logged the defect for this. The fix for the reported issue will be available on March 13th, 2019. 
 
Now, you can now track the status of your request, review the proposed resolution timeline, and contact us for any further inquiries through below link.  
 
 
Regards, 
Ramya T 



RT Ramya Thirugnanam Syncfusion Team April 2, 2019 11:35 AM UTC

Hi David,   
Reported issue: Children of the BPMN's group node does not get serialized when PreventDefaultValues is true.  
We are glad to announce that our Essential Studio 2019 Volume 1  release v17.1.0.38  is rolled out and is available for download under the following link. 
We have included the fix for the reported issue. 
  
  
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.  
Regards,  
Ramya T 


Loader.
Up arrow icon