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

Serialization in the diagram component lost the ZOrder data when using SendToBack() command

When I change the node ZOrder using Z-Order commands:SendToBack(), the  command is worked well. And then save the diagram to json string and load from the string,I found the node ZOrder data do not restore,the other layout data is OK.

But When I change the node ZOrder using the BringToFront() command, and then save the diagram to json string and load from the string,the ZOrder data is OK.


6 Replies 1 reply marked as answer

BR Balavignesh RaviChandran Syncfusion Team February 15, 2023 01:57 PM UTC

Hi Gzthomax,

We have reproduced the issue through the following steps 

  • Create a sample with three nodes(node1, node2 and node3) placed one above the another
  • Select the node2 and perform send to back. Now the node2 placed behind the node1
  • Save the diagram and load it. Now the node2 place before the node1 and node 3 instead of behind the node1.

We are currently validating the above issue , we will provide additional information on February 17, 2023. Could you please confirm us that these are the procedures you are tried at your end to reproduced the issues? If the above procedure is different from your scenario then please provide your replication steps to reproduce the issue at our end.

Regards,

Balavignesh



TL Thomas Leung replied to Balavignesh RaviChandran February 16, 2023 06:28 AM UTC

Dear  Balavignesh,

Yes, my problem reproduction steps are the same as you describe.

Thanks



BR Balavignesh RaviChandran Syncfusion Team February 17, 2023 02:48 PM UTC

Reported issue: Serialization in the diagram component lost the ZOrder data when using SendToBack() command

 

 

We have confirmed that the reported issue is a bug and have logged a defect report regarding it. We will fix the issue and include the fix in our upcoming weekly NuGet release, which is expected to be rolled out on February 21, 2023. We appreciate your patience until then.

 

 

Meanwhile, you can track the status of the bug at the following link:

 

 

 

Feedback Link: https://www.syncfusion.com/feedback/41240/serialization-issue-in-zindex-of-nodes

 

Disclaimer: The inclusion of this solution in the weekly release may change due to other factors, including but not limited to QA checks and work reprioritization.



BR Balavignesh RaviChandran Syncfusion Team February 21, 2023 11:49 AM UTC

Hi Gzthomax,

We have fixed the reported issue  “Serialization issue in Zindex of Nodes ” and included the fix in our weekly patch release(v20.4.0.51). Please update the “Syncfusion.Blazor.Diagram” package to the latest version in your application to resolve the reported issue. Please find the package link below.

https://www.nuget.org/packages/Syncfusion.Blazor.Diagram

 



Marked as answer

TL Thomas Leung replied to Balavignesh RaviChandran February 21, 2023 10:21 PM UTC

it's worked, thank a lot.




PR Preethi Rajakandham Syncfusion Team February 22, 2023 08:40 AM UTC

Hi [email protected],

We are glad to know that the reported problem has been resolved. Please let us know if you have any further queries on this. We are happy to help.

Regards,

Preethi R


Loader.
Up arrow icon