Double-clicking on Scheduler events throws JSON deserialization and parameter mismatch errors after recent update

Dear Syncfusion Support,

I recently updated my Syncfusion Blazor library to the latest version 26.1.38, and I'm now experiencing issues with the Scheduler component. Specifically, when I double-click on an existing event in the Scheduler, I'm getting two errors:

  1. A JSON deserialization error: System.Text.Json.JsonException: The JSON value could not be converted to System.Int32. Path: $ | LineNumber: 0 | BytePositionInLine: 5. Inner exception: Cannot get the value of a token type 'False' as a number.
  2. A method invocation error: System.ArgumentException: The call to 'TriggerEventDoubleClick' expects '3' parameters, but received '2'.

These errors occur in the JavaScript interop layer and prevent the edit dialog from opening when double-clicking an event. This functionality was working correctly before the update.

My questions are:

  1. Are these known issues with the latest version of the Syncfusion Blazor library?
  2. If so, is there a workaround or fix available?
  3. If not, could you provide guidance on how to troubleshoot these errors?

I can provide more details or code samples if needed. Thank you for your assistance in resolving this issue.


3 Replies

SR Swathi Ravi Syncfusion Team June 24, 2024 10:11 AM UTC

Hi Frederic,

We have checked your reported issue by double-clicking on the existing appointment, but we have not encountered any errors. To further validate and address your reported issue, we need additional details. Could you please provide the following information?

  • The entire schedule-related code snippets along with any customizations.
  • A sample that reproduces the issue.
  • Alternatively, you can replicate the issue in the sample we have shared.
This information will be very helpful in assisting you better and providing a more effective solution.

Sample: Attached as a zip file.

Regards,
Swathi Ravi

Attachment: blazorschedulereventdoubleclick_7d7b1f21.zip


FR Frederic June 24, 2024 01:06 PM UTC

I am an idiot

https://blazor.syncfusion.com/documentation/common/how-to/version-compatibility


I was still getting the 20.4 version of syncfusion.blazor.min


Updated to latest and problem solved



IL Indhumathy Loganathan Syncfusion Team June 25, 2024 07:34 AM UTC

Hi Frederic,


We are glad to hear that your reported query has been resolved. Please get back to us if you need any further assistance.


Regards,

Indhumathy L


Loader.
Up arrow icon