Hello,
When I have a task with multiple resources and load resource calendars. It throws an error. I’m not sure if what’s the cause for this. Is it from the data loaded in gantt or a bug in gantt? The calendars are in loaded in hours like [“08:00-09:00”] format and Im using dynamic_resource_calendars
config. Maybe there’s a conflict during the merge?
TypeError: Cannot read properties of undefined (reading 'end')
at Vn._intersectHourRanges (work_calendar_merger.js:78:29)
at Vn._mergeHoursConfig (work_calendar_merger.js:127:9)
at r (work_calendar_merger.js:162:57)
at Vn.merge (work_calendar_merger.js:169:3)
at Un.<anonymous> (calendar_manager.js:62:57)
at Array.forEach (<anonymous>)
at Un.mergeCalendars (calendar_manager.js:58:13)
at dynamic_resource_calendars.js:15:18
at Object.getCalendarIdFromMultipleResources (dynamic_resource_calendars.js:19:3)
at Un._getOwnCalendar (calendar_manager.js:142:44)