Regression: 2026.3.6988 breaks init/loading

Asked by Leo
1 days ago.

Hi Dan,

Updating to 2026.3.6988 breaks initialising any DayPilot component with empty options for us.

Before, we would init new this.dayPilot.Gantt('dp'); and then set options. This would break after 2026.3.6988 with

Cannot convert undefined or null to object
    at Object.keys (<anonymous>)
    at DayPilot.Scheduler.Sh (daypilot-pro-javascript.js?v=609ee145:26628:43)
    at DayPilot.Scheduler.Jx (daypilot-pro-javascript.js?v=609ee145:26561:15)
    at DayPilot.Scheduler.init (daypilot-pro-javascript.js?v=609ee145:26544:29)
    at DayPilot.Gantt.init (daypilot-pro-javascript.js?v=609ee145:10155:56)

In addition, other than other DayPilot instances, the Gantt also doesn’t work with new this.dayPilot.Gantt('dp', {}); but also requires a hacky gantt.scheduler.internal?.loadOptions?.({}); to work/load at all.

Cheers
Leo

Comment posted by Dan Letecky [DayPilot]
1 days ago.

Hi Leo,

Sorry for the troubles.

I confirm the regression. A new release with a fix will be available later today.

Answer posted by Dan Letecky [DayPilot]
23 hours ago.

Hi Leo,

This fix is now available in the latest release (2026.3.6993).

Thanks for reporting the issue.

New Reply
This reply is
Attachments:
or drop files here