Need More Info
Last Updated: 17 Jan 2025 15:53 by Jean-Marc
Jean-Marc
Created on: 13 Jan 2025 10:41
Category: Scheduler
Type: Bug Report
0
Sometimes appointments coordinates are wrong

Bug reproduced systematically on web browser Edge (131.0.29.03.146) & Firefox (134.0).

Beware: culture is fr-FR

Scheduler component sometimes put appointments at wrong coordinates (hour if ok but the day is wrong).

The screenshot "ExampleWrongCoordinates.png" set an example of an item wrongfully located. In this picture, console log shows details of the razor element who's supposed to be located on Tuesday 14th of January 2025 .. but which is rendered on Monday instead!

Appointments model defines "default (expected) property names Start & End":

private DateTime _start;

public DateTime Start
{
    get { return _start; }
    set { _start = value; }
}

private DateTime _end;

public DateTime End
{
    get { return _end; }
    set { _end = value; }
}

View is MultiDay but the glitch is the same on Week view.

Now if we switch on day view and navigate to Tuesday 14, scheduler shows the appointment on hours column! If we click it, a JS error is raised (Cf screenshot "ClickAppointmentWrongCoordinates.png").

2 comments
Jean-Marc
Posted on: 17 Jan 2025 15:53

Hi Hritian,

It appears the cause of the glitch is within my own company (backend side). Indeed my web service returned me an end date strictly identical to the Start!

I reproduced the issue : https://blazorrepl.telerik.com/mTOPPrlz26dFqoSr23

So it seems like your scheduler component can't bear the situation..

ADMIN
Hristian Stefanov
Posted on: 17 Jan 2025 11:47

Hi Jean-Marc,

Thank you for sharing screenshots of the issue.

I’ve tested various Scheduler configurations on both browsers you mentioned, but I wasn’t able to reproduce the described behavior. To continue investigating, could you provide a runnable reproduction of the issue? This will allow me to review your specific configuration and assist further. For convenience, you can share the code using the REPL platform.

Additionally, we previously resolved a similar bug in version 7.0: Timeline view: appointments are sometimes not rendered in the correct slot. Could this be related to what you’re experiencing?

I look forward to hearing back from you and I appreciate your cooperation.

Regards,
Hristian Stefanov
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.