Duplicated
Last Updated: 11 Jul 2024 08:39 by ADMIN
Svitlana
Created on: 04 Jul 2024 09:51
Category: Scheduler
Type: Bug Report
0
Scheduler: Some events are incorrectly duplicated despite the rules written on them.

Hi,

I have events with reccurenceRule with start time setted to 00:00:01:

    {
      id: 4,
      title: '1 OK',
      start: new Date('2020-10-19T00:00:01'),
      end: new Date('2020-10-19T10:30:00'),
      recurrenceRule: 'FREQ=WEEKLY;UNTIL=20201028;BYDAY=MO',
    },
    {
      id: 5,
      title: '2 OK',
      start: new Date('2020-10-19T00:00:01'),
      end: new Date('2020-10-19T10:30:00'),
      recurrenceRule: 'FREQ=WEEKLY;UNTIL=20201028;BYDAY=TU',
    },
    {
      id: 6,
      title: '3 OK',
      start: new Date('2020-10-19T00:00:01'),
      end: new Date('2020-10-19T10:30:00'),
      recurrenceRule: 'FREQ=WEEKLY;UNTIL=20201028;BYDAY=WE',
    },

After changing start time to be 00:00:00:

  1. Wednesday's event started showing on October 14th.
  2. Event from Tuesday '2BAD' hass been duplicated and is also shown on October 14th.
 {
      id: 1,
      title: '1 BAD',
      start: new Date('2020-10-05T00:00:00'),
      end: new Date('2020-10-05T10:30:00'),
      recurrenceRule: 'FREQ=WEEKLY;UNTIL=20201014;BYDAY=MO',
    },
    {
      id: 2,
      title: '2 BAD',
      start: new Date('2020-10-05T00:00:00'),
      end: new Date('2020-10-05T10:30:00'),
      recurrenceRule: 'FREQ=WEEKLY;UNTIL=20201014;BYDAY=TU',
    },
    {
      id: 3,
      title: '3 BAD',
      start: new Date('2020-10-05T00:00:00'),
      end: new Date('2020-10-05T10:30:00'),
      recurrenceRule: 'FREQ=WEEKLY;UNTIL=20201014;BYDAY=WE',
    },


StackBlitz: https://stackblitz.com/edit/angular-pusn73-utpuwe?file=src%2Fapp%2Fapp.component.ts

Attached Files:
Duplicated
This item is a duplicate of an already existing item. You can find the original item here:
1 comment
ADMIN
Yanmario
Posted on: 11 Jul 2024 08:39

Hi Svitlana,

Thank you for the provided feedback.

I will mark this as a duplicate to:

https://feedback.telerik.com/kendo-angular-ui/1484071-scheduler-event-editor-recurrence-editor

https://github.com/telerik/kendo-angular/issues/3063

I will also bump the priority of the bug due to this report.

As a workaround what I could suggest is to increase the UNTIL by one day or maybe try adding time:

20201014 -> 2020-10-14T00:00:00.000Z

Regards,
Yanmario
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources