Hello Al,
The provided project has been tested with version 2024.2.514 and works as expected.
If you have any additional questions, please do not hesitate to contact us.
Regards, Dimitar Stoyanov Progress Telerik
Hi Al,
Thanks for the project. It demonstrates the issue with the EF8 ObservableCollectionListSource collection, and that error is tracked elsewhere: RadGridView: Using ObservableCollectionListSource as a DataSource will lead to an exception when a row is removed (telerik.com). The item is already in development, and we are currently testing a possible fix.
The issue here, treats the exception as per the call stack in my previous post. We logged it based on your additional report from 15 Mar 2024 in ticket 1643794, and the provided stack trace. As we were familiar with the root cause that may cause a similar exception we logged the issue. It turns out, however, that we've already fixed our RebuildDescriptorIndex method with the 2024.1.130 version, so it should not throw now. Can you please double check that you are still getting an error with a similar stack trace?
Thank you in advance. Looking forward to your reply.
Regards,
Hristo
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
Hello Al,
We double checked our IEnumerator fixes for .NET 8 and it turns out that the problematic RebuildDescriptorIndex method is updated and fixed with the 2024.1.130 (2024 Q1) release. Here is the stack trace causing the error:
at System.SZGenericArrayEnumerator`1.get_Current() at Telerik.WinControls.Data.RadCollectionView`1.RebuildDescriptorIndex(IEnumerable`1 source, SortDescriptorCollection sortDescriptors, GroupDescriptorCollection groupDescriptors) at Telerik.WinControls.Data.SnapshotCollectionView`1..ctor(IEnumerable`1 sourceCollection, RadCollectionView`1 sourceView) at Telerik.WinControls.UI.GridViewInfo.LoadHierarchicalData(GridViewHierarchyRowInfo parent, ICollectionView`1 sourceView) at Telerik.WinControls.UI.GridViewInfo.Refresh()
...
Looking into the stack trace and the current state of our implementation I cannot see where the method could throw a similar exception in .NET 8. Can you please double check that the issue still reproduces and indeed that you are using version 2024.1.130? In case the error still appears please provide us with instructions how we can reproduce it so that we can investigate it accordingly.
Thank you in advance for your cooperation.
Regards,
Hristo
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
Hi Al Wilton,
Thank you for reporting this. We have already reported this to Microsoft: https://github.com/dotnet/runtime/issues/94256. We need to apply the corresponding changes in our code.
Regards,
Dinko | Tech Support Engineer
Progress Telerik