timeaxis navigation error

Our pure javascript Scheduler component
Post Reply
User avatar
Steveoo61
Posts: 9
Joined: Fri Feb 08, 2019 3:43 pm

timeaxis navigation error

Post by Steveoo61 » Wed Mar 13, 2019 12:33 pm

hi,

When i hide week end and do shift next before friday error occur in internalOnReconfigure me.first.startDate first is undefined line 63817.

How can i know if the next date is valid when i shift next or previous?

User avatar
pmiklashevich
Core Developer
Core Developer
Posts: 1010
Joined: Fri Apr 01, 2016 11:08 am

Re: timeaxis navigation error

Post by pmiklashevich » Wed Mar 13, 2019 6:07 pm

You shouldn't see any exceptions! Can you reproduce this with one of our samples? Please add details according to this guide and provide a runnable testcase that we can inspect.
Pavel Miklashevich - Core Developer

User avatar
Steveoo61
Posts: 9
Joined: Fri Feb 08, 2019 3:43 pm

Re: timeaxis navigation error

Post by Steveoo61 » Thu Mar 14, 2019 3:18 pm

version: scheduler-1.x-2019-03-10-next
brave latest version.

-click filterable time axis
-click only week days
-click previous/next until the error occurs

TimeAxis.js:233 Uncaught TypeError: Cannot read property 'startDate' of undefined
at TimeAxis.internalOnReconfigure (TimeAxis.js:233)
at TimeAxis.reconfigure (TimeAxis.js:199)
at TimeAxis.setTimeSpan (TimeAxis.js:403)
at TimeAxis.shiftPrevious (TimeAxis.js:437)
at Scheduler.shiftPrevious (TimelineZoomable.js:805)
at Button.onClick (SchedulerFilterableTimeAxis.js:143)
at Button.callback (Base.js:240)
at Button.trigger (Events.js:625)
at Button.onInternalClick (Button.js:180)
at HTMLButtonElement.handler (EventHelper.js:396)
Attachments
SchedulerFilterableTimeAxis.js
(5.73 KiB) Downloaded 1 time

User avatar
pmiklashevich
Core Developer
Core Developer
Posts: 1010
Joined: Fri Apr 01, 2016 11:08 am

Re: timeaxis navigation error

Post by pmiklashevich » Thu Mar 14, 2019 7:37 pm

Thanks for the report! I've created a ticket so you can track the issue here: https://app.assembla.com/spaces/bryntum/tickets/7810
Pavel Miklashevich - Core Developer

Post Reply