Bidirectional reflexive association causes problems

Issue #491 resolved
Matthias Schoettle created an issue

Steps to reproduce:

  • Create a design model with one class
  • Create a reflexive association
  • Make it bidirectional
  • Change one of the ends to 1..*
  • Save

The save will fail, because there are mappings that point to operations that were deleted upon changing the multiplicity.

Another problem occurs when changing back from bidirectional to unidirectional. Then, an out of bounds exception occurs when trying to delete one of the operations.

Comments (3)

  1. Matthias Schoettle reporter

    Resolves #491: Ensures that mapped operations are deleted if there are not mapped elsewhere.

    Also ensures that the operations of the opposite side are deleted for bidirectional associations (where Associated might have operations).

    → <<cset 57998fe4ff2e>>

  2. Log in to comment