- Home
- Forum
- Angular - EJ 2
- Link to stackblitz example about how to save the diagram state, is not working
Link to stackblitz example about how to save the diagram state, is not working
Hi,
I was following this thread about saving the state of diagram here;
and there was a link to a stackblitz example here;
https://stackblitz.com/edit/angular-bkxjjz?file=main.ts
Im having an issue of loading the state of the "saved" diagram and i was thinking that this example would have helped me. When i tried to "save" and then "load" the diagram on the stackblitz, I see on the console an error so it wont load display the diagram;
ERROR
Error: Cannot read property 'length' of undefined
Can you check this error on your stackblitz example so that I can verify if im doing the saving incorrectly?
thank you.
SIGN IN To post a reply.
4 Replies
SG
Shyam G
Syncfusion Team
March 11, 2020 06:19 AM UTC
Hi Vithu,
The reported issue occurs when we set serializationSettings preventDefaults as true. We have logged “Exception raised while loading a JSON data in loadDiagram method” as a defect. We will fix this issue and provide the patch on volume 1, release which is scheduled to release by the end of March, 2020.
You can track the status of the issue from the below feedback link.
Feedback link: https://www.syncfusion.com/feedback/12647/exception-raised-while-loading-a-json-data-in-loaddiagram-method
Regards,
Shyam G
VR
Vithu R
March 11, 2020 04:56 PM UTC
Shyam G, thank you for your immediate reply on the matter.
SG
Shyam G
Syncfusion Team
March 12, 2020 04:27 AM UTC
Hi Vithu,
Thanks for your update.
As promised, the fix for the reported issue will be available on volume 1, release which is scheduled to release by the end of March, 2020.
Regards,
Shyam G
AR
Aravind Ravi
Syncfusion Team
April 2, 2020 01:33 PM UTC
Hi Vithu,
The reported issue Exception raised while loading a JSON data in loadDiagram method has been fixed and included in volume 1, 2020 release (v18-1-0-42) which is rolled out and available for download under the following link.
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
Aravind Ravi
SIGN IN To post a reply.
- 4 Replies
- 3 Participants
-
VR Vithu R
- Mar 10, 2020 07:25 PM UTC
- Apr 2, 2020 01:33 PM UTC