Gantt aliases work differently from other diagrams (it is not possible to give the same "label" to a task)

+4 votes
asked Oct 2, 2020 in Bug by Serge Wenger Work (14,580 points)

Hello PlanUML,

Tests done with version 1.2020.18

Gantt aliases work differently from other diagrams (it is not possible to give the same "label" to a task):

@startgantt
Project starts 2020-11-08
[Task 7 days] as [T7] starts at 2020-11-09
[T7] ends at 2020-11-15
[Task 7 days] as [T7bis] starts at 2020-11-09
[T7bis] ends at 2020-11-15
@endgantt

In Component for example, it is possible to have 2 with the same label:

@startuml
[First component] as Comp1
[Another component] as Comp2
[Another component] as Comp3
Comp1 -> Comp2
@enduml

[See on PlantUML Server]

Thanks for your support  

commented Feb 11, 2021 by The-Lu (37,840 points)

Hello S. and PlantUML team,

Here are some another minimal examples:

@startgantt
[SameTaskName] as [T1] lasts 7 days and is colored in pink
[SameTaskName] as [T2] lasts 7 days and is colored in pink
[T1] -> [T2]
@endgantt

And the last one who disappointed us:

@startgantt
[SameTaskName] as [T1] lasts 7 days and is colored in pink
[SameTaskName] as [T2] lasts 3 days and is colored in orange
[T1] -> [T2]
@endgantt

Intermixture: Very hard to detect when you have a large project with stages that have the same name ('test', 'delivery', 'end', ...)

Thanks for your support,
Regards,
Th.

commented Nov 9, 2021 by Capitán Primate (120 points)
Hello.

Any news regarding this issue? It would be very useful to be able to have the same name for different tasks and make each of them unique using the ID or alias.

Currently, we need to make each task name unnecessarily long, by adding spaces or other kind of marks, and it becomes really hard to manage for very large projects. Think about having [Development], [Development ], [Development  ], [Development    ], and so on.

Thanks in advance.

1 Answer

+2 votes
answered Oct 14, 2021 by anonymous
Would it be possible for PlantUML to use the alias as a unique ID, and only use the task name as unique ID if there is no alias?
commented Nov 22, 2021 by emalware (240 points)

I have the same issue in gantt, lets say you have 

Project

  1. task 1
    1. demo
  2. task 2
    1. demo

demo subtask /milestone should be show for both, but it is not working, just like this there are several examples where same label is needed 

...