TreeGrid error on expand: The specified key 'checkboxState' does not exist in the ExpandoObject.

Hi, 

The latest release 18.2.0.48 introduced new bugs.

One key functionality that is a deal breaker right now is arbitrary levels in the  tree hierarchy.
I noticed in the Financials Module, that when I expand the chart of accounts at level 3,
I get the error below

 Unhandled exception rendering component: The specified key 'checkboxState' does not exist in the ExpandoObject.
System.Collections.Generic.KeyNotFoundException: The specified key 'checkboxState' does not exist in the ExpandoObject.
   at System.Dynamic.ExpandoObject.System.Collections.Generic.IDictionary<System.String,System.Object>.get_Item(String key)
   at Syncfusion.Blazor.TreeGrid.Internal.TreeCell`2.ExpandCollapseClick(MouseEventArgs e)
   at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle)
fail: Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost[111]
      Unhandled exception in circuit 'IQmAcTZzC8wU79R0Yrj7lcyYHeYM2fuW3x1CdJ0fJ-o'.
System.Collections.Generic.KeyNotFoundException: The specified key 'checkboxState' does not exist in the ExpandoObject.
   at System.Dynamic.ExpandoObject.System.Collections.Generic.IDictionary<System.String,System.Object>.get_Item(String key)
   at Syncfusion.Blazor.TreeGrid.Internal.TreeCell`2.ExpandCollapseClick(MouseEventArgs e)
   at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle)

When you expand beyond 2 levels, you get the error above.
This happens for all instances of the TreeGrid after the update.
Your text editor does not allow Ctlr+V or any form of copy and paste, tried too many times to paste the markup here.
Kindly reproduce this bug and see for yourself.

Please fix this one asap as I have a demo that depends on this feature!

Thanks again


2 Replies 1 reply marked as answer

OZ Ozioma August 9, 2020 01:14 AM UTC

Hello guys,

An upate would be appreciated.
This feature is key to a presentation I have scheduled.

Thanks again!


FS Farveen Sulthana Thameeztheen Basha Syncfusion Team August 10, 2020 01:00 PM UTC

Hi Ozioma, 
 
Thanks for contacting Syncfusion Support. 
 

Query#1: Error thrown while expanding the tree level beyond 2nd level.

 

We have validated the defect you have initiated with us. Thank you for taking the time to report the issue and helping us improve our product. At Syncfusion we are committed to fixing all the validated defect (subject to technological feasibility and Product Development Life Cycle) and including its fix in our subsequent release. So fix for the issue will be included in our Volume 2 SP1 release which is expected to be rolled out in the mid of August, 2020.  
 
Query#2: Your text editor does not allow Ctlr+V or any form of copy and paste, tried too many times to paste the markup here. 
 
We have validated your reported query with Rich Text Editor and unable to replicate the issue reported. We have tried copy and pasting the contents from Notepad/ Vs code which works fine. We have prepared a sample with Rich Text Editor using the latest version 18.2.48.  
 
 
 Can you please share us the following details,  
  • The content you have copied and pasted ?
  • The screenshot of the error log if any?
  • Are you able to reproduce the reported issue in the above shared sample?
 
 The above details will be helpful for us to validate and provide solution at earliest.  
 
Kindly get back to us, if you need more assistance. 
 
Regards, 
Farveen sulthana T 


Marked as answer
Loader.
Up arrow icon