Created attachment 71821 [details]
doc reproducing the problem
In the attached file, if I change task programming/UI/build search page duration from 2d to 2h, then run schedule/calculate (using network scheduler, other schedulers seem ok), calculation completes, but the resulting gantt chart is buggy (subsequent tasks all start at same time, end dates are correct, so their duration is all wrong).
Changing duration back to 2d corrects the problem, at least in my understanding of things.
If I change first task duration, the problem does not occur.
Created attachment 71822 [details]
screenshot of gantt chart is it should look (taken with duration=2d)
Created attachment 71823 [details]
screenshot of buggy gantt chart (with duration set to 2h)
Indeed!! Strange bug, almost funny :)
If the said task ends before end of day (so duration < 4h) scheduling fails.
I thought the scheduling was fairly time agnostic, but well, seems not.
Git commit edf6debf2b07a43e175074a1efbf0b753db8d00c by Dag Andersen.
Committed on 19/06/2012 at 11:42.
Pushed by danders into branch 'master'.
Fix scheduling bug
If you have 3 (or more) tasks competing for same resource and
2 of the tasks end on same date the 3rd should start on the same date,
start time is not calculated correctly for the 3rd task.
M +1 -4 plan/libs/kernel/kptschedule.cpp