Skip to content

CREATE ASSOCIATION allows duplicate qualified names #389

@retran

Description

@retran

Impact

Silently corrupts the model. Studio Pro may behave unpredictably with two associations sharing a qualified name.

Steps to Reproduce

  1. Run CREATE ASSOCIATION Module.Name ... with valid parent/child
  2. Run the same command again
  3. No error — two associations with identical qualified names exist

Expected Behavior

Second CREATE fails with "association already exists" error. Other element types (entity, enumeration) correctly reject duplicates.

Severity

High — silent data corruption with no user feedback.


Discovered during AI-assisted manual testing session (2026-04-29, mxcli v0.7.0-257-ga07e7e0).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions