Tagged Values reference problem (#1603)
Adding a tagged value with a reference to a diagram then clicking on the tag causes an error
System.NullReferenceException: Object reference not set to an instance of an object.
at SoftwareIdeasModeler.Core.DiagramItems.Fields.TaggedValueField.GetHashCode()
at SoftwareIdeasModeler.Core.DiagramItems.Fields.ConcreteField.GetHashCode()
at System.Collections.Generic.ObjectEqualityComparer`1.GetHashCode(T obj)
at System.Collections.Generic.HashSet`1.InternalGetHashCode(T item)
at System.Collections.Generic.HashSet`1.Contains(T item)
at SoftwareIdeasModeler.Core.Diagramming.Canvas.CanvasProcessor.ProcessSelection(Point location, PenModifiers modifiers)
at SoftwareIdeasModeler.Core.Diagramming.Canvas.CanvasProcessor.MouseDown(Point location, Point screenLocation, PenModifiers modifiers)
at SoftwareIdeasModeler.SimDiagramControl.canvas_MouseDown(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
OF=SoftwareIdeasModeler.MainForm
LastCmd=SoftwareIdeas.Common.Commands.CombinedCommand
Sim18 2 June 2019 3:39:57
I updated to 11.98.7088.15063
Clicking a referenced tagged value no longer causes the error, but it does not follow the link to the reference
Thanks
Dusan Rodina - softwareideas.net 28 May 2019 22:35:07
Thank you for your feedback. This bug will be fixed in the next release.