search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Uncaught (in promise) TypeError: Cannot read property 'id' of undefined

Asked by Ahmed A
2 months ago.

I'm getting this error in Resource view. when i move from a view with 10 resources, and book an appointment, then switch to a view with less resources. the error is in the Day Pilot stack.

Comment posted by Dan Letecky [DayPilot]
2 months ago.

Can you please post the error stack trace?

Comment posted by Ahmed A
2 months ago.

Uncaught (in promise) TypeError: Cannot read property 'id' of undefined
at daypilot-all.min.js:7
at DayPilot.Calendar.nb (daypilot-all.min.js:7)
at DayPilot.Calendar.rd (daypilot-all.min.js:7)
at DayPilot.Calendar.update (daypilot-all.min.js:7)
at VueComponent._callee6$ (index.vue?7688:643)
at tryCatch (runtime.js:62)
at Generator.invoke [as _invoke] (runtime.js:296)
at Generator.prototype.<computed> [as next] (runtime.js:114)
at step (asyncToGenerator.js:17)
at asyncToGenerator.js:28

Comment posted by Ahmed A
2 months ago.

seems to me to be a bug in DayPilot

Answer posted by Dan Letecky [DayPilot]
2 months ago.

Sorry for the delay. This bug has been fixed in 2018.4.3469:

https://javascript.daypilot.org/daypilot-pro-for-javascript-2018-4-3469/

New Reply
This reply is
Your name (optional):