Hi,
We've upgrade recently the project from Infragistics v16.2 to v18.2 and during testing we discovered that one functionality is not working. After long analysis I figure out that this functionality was working with older version but it got broken after update.
Unfortunately I cannot provide more specific details since creating a reproduction problem might not be simple due it involves a lot of actions.
Here is a stack trace:
InfragisticsWPF.Controls.Menus.XamDataTree.dll!Infragistics.Controls.Menus.NodesManager.DataManager_CollectionChanged(object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e) Unknown InfragisticsWPF.DataManager.dll!Infragistics.DataManagerBase.OnCollectionChanged(System.Collections.Specialized.NotifyCollectionChangedEventArgs e) Unknown InfragisticsWPF.DataManager.dll!Infragistics.DataManagerBase.OnDataSourceCollectionChanged(System.Collections.Specialized.NotifyCollectionChangedEventArgs e) Unknown InfragisticsWPF.DataManager.dll!Infragistics.DataManager<Eaf.Client.Mango.Navigation.Base.TreeItemViewModel>.OnDataSourceCollectionChanged(System.Collections.Specialized.NotifyCollectionChangedEventArgs e) Unknown InfragisticsWPF.DataManager.dll!Infragistics.DataManagerBase.SetDataSource.AnonymousMethod__206_0(Infragistics.DataManagerBase instance, object s, System.Collections.Specialized.NotifyCollectionChangedEventArgs e) Unknown InfragisticsWPF.dll!Infragistics.WeakEventHandler<Infragistics.DataManagerBase, System.Collections.Specialized.INotifyCollectionChanged, System.Collections.Specialized.NotifyCollectionChangedEventArgs>.OnEvent(object source, System.Collections.Specialized.NotifyCollectionChangedEventArgs eventArgs) Unknown System.dll!System.Collections.ObjectModel.ObservableCollection<Eaf.Client.Mango.Navigation.Base.TreeItemViewModel>.OnCollectionChanged(System.Collections.Specialized.NotifyCollectionChangedEventArgs e) Unknown System.dll!System.Collections.ObjectModel.ObservableCollection<System.__Canon>.ClearItems() Unknown mscorlib.dll!System.Collections.ObjectModel.Collection<XXXXXX.Navigation.Base.TreeItemViewModel>.Clear() Unknown() Unknown
Hello Tomas,
Thank you for your post. This issue is known, has been fixed internally, and will receive a fix in the next service release estimated to release on April 5.
It was logged as development issue 260701 internally, and I have created you a private support case so that you can be notified when a fix becomes available. This support case has an ID of CAS-201237-J9S1K0 and you can access it after signing into your account, here.
Please let me know if you have any other questions or concerns on this matter.
Forgot to mention that this happens on treeNode Clear:
cellNode.Nodes.Clear();