Author Topic: Associations with same name don't appear in Schema composer  (Read 3243 times)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Associations with same name don't appear in Schema composer
« 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

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8607
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Associations with same name don't appear in Schema composer
« Reply #1 on: March 08, 2018, 10:39:22 am »
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
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!