Our pure JavaScript Scheduler component


Post 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?

Post 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.

Pavlo Miklashevych
Sr. Frontend Developer


Post 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)
Attachments
SchedulerFilterableTimeAxis.js
(5.73 KiB) Downloaded 163 times

Post 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

Pavlo Miklashevych
Sr. Frontend Developer


Post by Steveoo61 »

i've always the issue in scheduler V2

Post by mats »

It's fixed in latest 2.0 version, please re-test in latest nightly build (I just tried)

Post by Steveoo61 »

i've always the bug on scheduler-2.x-2019-04-17-release

Post 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

Post by Steveoo61 »

it works in your exemple but i've always the issue and i don't understand why ^^

Post 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

Pavlo Miklashevych
Sr. Frontend Developer


Post Reply