Page 1 of 2

timeaxis navigation error

Posted: Wed Mar 13, 2019 12:33 pm
by Steveoo61
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?

Re: timeaxis navigation error

Posted: Wed Mar 13, 2019 6:07 pm
by pmiklashevich
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.

Re: timeaxis navigation error

Posted: Thu Mar 14, 2019 3:18 pm
by Steveoo61
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)

Re: timeaxis navigation error

Posted: Thu Mar 14, 2019 7:37 pm
by pmiklashevich
Thanks for the report! I've created a ticket so you can track the issue here: https://app.assembla.com/spaces/bryntum/tickets/7810

Re: timeaxis navigation error

Posted: Thu Apr 18, 2019 10:45 am
by Steveoo61
i've always the issue in scheduler V2

Re: timeaxis navigation error

Posted: Thu Apr 18, 2019 1:59 pm
by mats
It's fixed in latest 2.0 version, please re-test in latest nightly build (I just tried)

Re: timeaxis navigation error

Posted: Thu Apr 18, 2019 2:15 pm
by Steveoo61
i've always the bug on scheduler-2.x-2019-04-17-release

Re: timeaxis navigation error

Posted: Thu Apr 18, 2019 2:19 pm
by mats
Not sure how you do it then, I do
-click filterable time axis
-click only week days
- call scheduler.shiftNext() 10 times on console
All works fine

Re: timeaxis navigation error

Posted: Thu Apr 18, 2019 5:36 pm
by Steveoo61
it works in your exemple but i've always the issue and i don't understand why ^^

Re: timeaxis navigation error

Posted: Thu Apr 18, 2019 6:03 pm
by pmiklashevich
To be able to help you we need to have a runnable testcase that we can inspect. Could you please try to create one? You can start changing one of our demos and when you spot a bug just zip it up and attach here.

Cheers,
Pavel