Gantt: Closed days aren't ignore when starting task N days before previous task's end

+1 vote
asked Mar 2, 2024 in Bug by anonymous
[Task2] begins 10 working days before [Task1]'s end

Starts Task2 at a total of 10 days before, ignoring closed days.

(puml v1.2024.3)

Similar to this bug which covered "N working days after", now fixed: https://forum.plantuml.net/16188/gantt-closed-days-arent-ignored-when-delaying-tasks

commented Mar 3, 2024 by The-Lu (83,700 points)

Thanks for the report;

Here is the corresponding not working example:

CodeOutput
@startgantt
saturday are closed
sunday are closed

Project starts 2022-06-27
[task1] starts at 2022-06-27 and requires 3 week

[task3] starts 10 days before [task1]'s end
@endgantt
@startgantt
saturday are closed
sunday are closed

Project starts 2022-06-27
[task1] starts at 2022-06-27 and requires 3 week

[task3] starts 10 working days before [task1]'s end
@endgantt

Regards,
Th.

commented Mar 3, 2024 by The-Lu (83,700 points)

Hello A.,

Where do come from the form: 

[Task2] begins 10 working days

?

Regards,
Th.

1 Answer

0 votes
answered Apr 7 by norino (140 points)

I have a similar case, I'm not sure that's the same bug:

PlantUML Web Server

@startgantt

project starts on 2025-03-31
{Arnaud} is off on 2025-04-22 to 2025-04-26

saturday are closed
sunday are closed
2025-04-21 is closed
2025-05-01 is closed
2025-05-08 is closed

[Task1] happens on 2025-04-21
[Task2] starts at [Task1]'s end

     [Task0] on {Arnaud:5%} {PAA:95%} requires 20 days
then [Task2] on {Arnaud:100%} requires 1 week

@endgant


results in the following in which Task2 starts before the end of Task0 instead of starting at the end of Task0:

PlantUML diagram

...