Exception using DataGrid 18.2.0.58

Net 5 RC1, Blazor Server app.
DataGrid 18.2.0.57 works as expected.
Updating to 18.2.0.58 results in a runtime exception.
After downgrading back to 18.2.0.57 DataGrid works as expected.


[08:43:26 ERR] Unhandled exception in circuit [...]
System.Collections.Generic.KeyNotFoundException: The given key '3' was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Syncfusion.Blazor.Grids.Internal.GridHeader`1.GetStackedColumns(Int32 level, List`1 columns, Int32 maximumDepth, Dictionary`2 stacked)
at Syncfusion.Blazor.Grids.Internal.GridHeader`1.GetStackedColumns(Int32 level, List`1 columns, Int32 maximumDepth, Dictionary`2 stacked)
at Syncfusion.Blazor.Grids.Internal.GridHeader`1.GetStackedColumns(Int32 level, List`1 columns, Int32 maximumDepth, Dictionary`2 stacked)
at Syncfusion.Blazor.Grids.Internal.GridHeader`1.GetRows(List`1 columns)
at Syncfusion.Blazor.Grids.Internal.GridHeader`1.OnParametersSet()
at Microsoft.AspNetCore.Components.ComponentBase.CallOnParametersSetAsync()
at Microsoft.AspNetCore.Components.Rendering.ComponentState.NotifyCascadingValueChanged(ParameterViewLifetime& lifetime)
at Microsoft.AspNetCore.Components.CascadingValue`1.NotifySubscribers(ParameterViewLifetime& lifetime)
at Microsoft.AspNetCore.Components.CascadingValue`1.SetParametersAsync(ParameterView parameters)
at Microsoft.AspNetCore.Components.Rendering.ComponentState.SetDirectParameters(ParameterView parameters)
[...]

4 Replies 1 reply marked as answer

JP Jeevakanth Palaniappan Syncfusion Team September 21, 2020 02:11 PM UTC

Hi Customer, 

Greetings from Syncfusion support. 

We have checked your query in the updated Syncfusion Nuget version(18.2.0.58) but we are unable to reproduce the reported issue from our end. We have attached the validated sample for your reference. If you are still facing the exception, kindly share us the below details. 

  1. Share us the complete grid code.
  2. If possible share the issue reproducing sample or reproduce the issue in the provided sample.

The above requested details will be helpful for us to validate the issue and provide you a better solution as early as possible. 


Regards, 
Jeevakanth SP. 



SL Steven Littleford September 24, 2020 04:19 AM UTC

I am also getting this issue since upgrading to 18.2.58......


It looks to be associated to Aggregates on a Stacked Column. If you comment out the Aggregate then the error goes away. Not helpful I know - but it will get you up and running again. 

Syncfusion.......Please be aware.



T T September 24, 2020 01:12 PM UTC

Hi,

I've modified and attached the provided sample app to reproduce the exception.

Attachment: BlazorApp3_c3efbfb1.zip


JP Jeevakanth Palaniappan Syncfusion Team September 25, 2020 12:59 PM UTC

Hi Steven/T, 

We have validated the reported issue and confirmed it as bug confirmed it as a bug and logged a defect report “Exception throws on rendering stacked header with aggregates” for the same. Thank you for taking the time to report this issue and helping us improve our product. At Syncfusion, we are committed to fixing all validated defects (subject to technological feasibility and Product Development Life Cycle ) and including the defect fix in our upcoming Volume 3 release which is expected to be rolled out by the end of September 2020. 
    
You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link.    
 
 
Until then we appreciate your patience. 

Regards, 
Jeevakanth SP. 


Marked as answer
Loader.
Up arrow icon