bryntum / support

An issues-only repository for the Bryntum project management component suite which includes powerful Grid, Scheduler, Calendar, Kanban Task Board and Gantt chart components all built in pure JS / CSS / TypeScript
https://www.bryntum.com
54 stars 6 forks source link

Incorrect endDate update if applied same value using set method #5590

Open chuckn0rris opened 1 year ago

chuckn0rris commented 1 year ago

Forum post

Hi,

I'd like to report a bug. As far as I see it is present in the SchedulerPro, but it is working in the normal Scheduler. Tested in 5.2.0-beta and 5.2.2.

Steps to reproduce:

Open: https://bryntum.com/examples/scheduler-pro/percent-done/ Run in the console:

let r = schedulerPro.eventStore.getAt(0); 
r.set({ startDate: '2020-03-23 03:00:00', endDate: new Date(r.endDate) });

Expected: start date is changed, end date is not changed Actual: start and end date are changed

Please provide a workaround/quick fix for that... thanks!

bryanmylee commented 1 year ago

Running into a similar issue where I cannot initialize new tasks with a duration or end date.

Trying to do so results in all tasks receiving the wrong end date for some reason.

matsbryntse commented 2 months ago

@bryanmylee Could you please share your test case so we can take a look to see if it's the same issue?