TypeError: Cannot read properties of undefined (reading '0') at r.updateBridging

Hi Syncfusion team,

I'm using the diagram component (version 19.3.55) in my app.

We're seeing the below issue while loading one of our diagrams (diagram JSON attached).

TypeError: Cannot read properties of undefined (reading '0')
    at r.updateBridging (main.05ae68c2687f4ad1.js:1)
    at r.connectorPropertyChange (main.05ae68c2687f4ad1.js:1)
    at dZe.drag (main.05ae68c2687f4ad1.js:1)
    at dZe.drag (main.05ae68c2687f4ad1.js:1)
    at r.drag (main.05ae68c2687f4ad1.js:1)
    at r.updateGroupOffset (main.05ae68c2687f4ad1.js:1)
    at r.initObject (main.05ae68c2687f4ad1.js:1)
    at r.initNodes (main.05ae68c2687f4ad1.js:1)
    at r.initLayerObjects (main.05ae68c2687f4ad1.js:1)
    at r.initObjects (main.05ae68c2687f4ad1.js:1)


Below are the set of connector defaults used in our app. Please let me know if any additional details are required from my end.

Thanks,

-Mithun



Attachment: diagrambridgingissue_ce0cd87c.zip

5 Replies 1 reply marked as answer

AR Aravind Ravi Syncfusion Team December 23, 2021 09:21 AM UTC

Hi Mithun, 

We are able to reproduce the reported issue at our end. We are validating the issue and update you with more details within two business days on December 28th 2021 

Regards 
Aravind Ravi 



SS Sivakumar Sekar Syncfusion Team December 29, 2021 02:37 PM UTC

Hi Mithun 

Reported Issue: Exception occurs when save and load the diagram with connector bridging 

We can reproduce the issue and confirmed this as a defect. We have logged a defect report for this issue. We will fix this issue and provide the patch on the 19th January 2022 weekly patch release.    
     

Regards, 
Sivakumar 




MI Mithun December 30, 2021 07:14 AM UTC

Noted, thank you Sivakumar!




SS Sivakumar Sekar Syncfusion Team December 31, 2021 12:37 PM UTC

Hi Mithun, 
 
Thanks for your update 
 
Regards,  
Sivakumar  




AM Arunkumar Manoharan Syncfusion Team January 20, 2022 11:36 AM UTC

Hi Mithun,


We have fixed the reported issue and included it in our patch release (v19.4.43) which is rolled out successfully.  

Please upgrade to the latest version packages to resolve this issue.        

https://www.npmjs.com/package/@syncfusion/ej2-angular-diagrams


Regards, 

Arun.


Marked as answer
Loader.
Up arrow icon