Gantt: days off break tasks dependencies

0 votes
asked Jan 14 in Bug by lucrus (120 points)
@startgantt
hide resources names
[Task1] on {Alice} requires 5 days and starts 2026-01-15
then [Task2] on {Alice} requires 5 days
{Alice} is off on 2026-01-19
@endgantt

Task2 should start on 2026-01-21, but it starts one day earlier and it overlaps the last day of Task1.

If you remove Alice's day off, then it renders ok.

1 Answer

0 votes
answered Jan 16 by The-Lu (87,580 points)

Hello L.,

Due to the current Gantt engine:
- All constraints must be given first.

Then here is the good definition, by placing `day off` first, as:

@startgantt
hide resources names
{Alice} is off on 2026-01-19
[Task1] on {Alice} requires 5 days and starts 2026-01-15
then [Task2] on {Alice} requires 5 days
@endgantt

Enjoy,
Regards,
Th.

...