Completed
Last Updated: 22 Mar 2024 13:54 by ADMIN
Steen
Created on: 22 Aug 2022 13:09
Category: Scheduler
Type: Bug Report
0
Error is thrown in the console when a recurring event with no id is deleted in the Scheduler

Bug report

When a recurring event is created in a Scheduler and the id is not set to the event, then if the event is deleted an error is thrown in the console.

Reproduction of the problem

  1. Open the Dojo example.
  2. Create a new recurring event
  3. Remove the event:
    3.1. Select the 'Delete current occurrence' option
    3.2. Select the 'Delete the series' option

Current behavior

3.1. 'kendo.all.js:311085 Uncaught TypeError: Cannot read properties of undefined (reading 'startTimezone')' is thrown
3.2. 'Uncaught TypeError: Cannot read properties of undefined (reading recurrence exception)' is thrown in the console

Expected/desired behavior

There should be no errors in the console although the deleted event is without id being set. There could be some more descriptive message.

Environment

  • Kendo UI version: 2022.2.802
  • Browser: [all ]
2 comments
ADMIN
Nikolay
Posted on: 22 Mar 2024 13:54

Hi Ripal,

After further review, we have decided this issue could not be considered a bug as the id is a mandatory unique identifier in the event. Thus, having an event without an id is an invalid scenario.

GitHub item: https://github.com/telerik/kendo-ui-core/issues/6994

Regards,
Nikolay
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
Ripal
Posted on: 17 Mar 2024 23:50
I am facing same issues. Do you have any solution?