Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Index out of range error while dragging a particular Link/Node in the diagram (Read 1505 times)
chai2prince
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 3
Joined: Jun 17th, 2022
Index out of range error while dragging a particular Link/Node in the diagram
Jun 17th, 2022 at 8:43am
Print Post  
Hi,
I am using the Mindfusion WPF component and for a particular digram only, I am facing an issue. The issue is that when I drag a particular link from a flow diagram, I get a System.ArgumentOutOfRangeException. Attached is a screenshot of the error. Cannot share the diagram due to the non-disclosure agreement and sensitive data.
It would be great if someone can help resolve the error.
  

MindfusionError.jpg ( 441 KB | 62 Downloads )
MindfusionError.jpg
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3153
Joined: Oct 19th, 2005
Re: Index out of range error while dragging a particular Link/Node in the diagram
Reply #1 - Jun 17th, 2022 at 9:48am
Print Post  
Hi,

What version of the control are you using? There's fix for link-to-table exceptions listed in this release -
https://mindfusion.eu/Forum/YaBB.pl?num=1642078090

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
chai2prince
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 3
Joined: Jun 17th, 2022
Re: Index out of range error while dragging a particular Link/Node in the diagram
Reply #2 - Jun 20th, 2022 at 8:25am
Print Post  
Thanks for your prompt response.
We are using version 3.0.1.17264 for MindFusion.Diagramming.Wpf
I will try using the latest version to see if the error is resolved.
Thanks again.
  
Back to top
 
IP Logged
 
chai2prince
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 3
Joined: Jun 17th, 2022
Re: Index out of range error while dragging a particular Link/Node in the diagram
Reply #3 - Jun 20th, 2022 at 4:03pm
Print Post  
I tried upgrading to 3.8.1 using nuget package. However, the issue is still occurring.
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3153
Joined: Oct 19th, 2005
Re: Index out of range error while dragging a particular Link/Node in the diagram
Reply #4 - Jun 21st, 2022 at 2:30pm
Print Post  
That link's OriginAnchor or DestinationAnchor index somehow became larger than respective table row's AnchorPattern.Points.Count. If your application changes row.AnchorPattern dynamically after links are already connected to the row, you might have to reset those indices too.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint