Sparx Systems Forum
Enterprise Architect => Bugs and Issues => Topic started by: Geert Bellekens on March 07, 2018, 11:16:50 pm
-
When a class has two associations with the same association name, only one of them will show up in the schema composer.
Steps to Reproduce:
- Create class A, B and C
- Add an association from A to B with name "test"
- Add an association from A to C with name "test"
- Create a new schema composer schema
- drag class A into the schema
- notice that only one (random) association with name "test" will show up with no warning at all.
- remove the names from the associations
- notice that now both associations are visible in the schema composer
Reported
Geert
-
When a class has two associations with the same association name, only one of them will show up in the schema composer.
Steps to Reproduce:
- Create class A, B and C
- Add an association from A to B with name "test"
- Add an association from A to C with name "test"
- Create a new schema composer schema
- drag class A into the schema
- notice that only one (random) association with name "test" will show up with no warning at all.
- remove the names from the associations
- notice that now both associations are visible in the schema composer
Reported
Geert
That's 'cos they're the same relationship! (only kidding! ;) ;) ) But the behaviour you describe is merely a defect.
The determination of semantic equivalence is non-trivial (as we discovered when we wrote our consolidator) - it's not rocket science, but it is not straightforward.
Paolo