Skip to content
This repository was archived by the owner on Jan 10, 2024. It is now read-only.
This repository was archived by the owner on Jan 10, 2024. It is now read-only.

impliedrelationship bug #342

@eric-panier-opalrt

Description

@eric-panier-opalrt

Description

Hi Simon,

It seems there is a not expected error when we just change the order of two relations in a dsl file. Please check Steps to reproduce.
This is a small example of a bug we get often in our bigger project.

Thanks.
Best regards.
Eric PANIER
OPAL-RT TECHNOLOGIES

Steps to reproduce

  1. Load workspace.dsl generates the following error:
    workspace.dsl: A relationship between "SoftwareSystem://SYSTEM_A" and "SoftwareSystem://system_b" already exists at line 1 of /usr/local/structurizr/workspaces/../systems/intersystem_relations.dsl: system_a -> system_b "RELATION_SEND_CMDS" "TECHNO_HTTP" at line 5 of /usr/local/structurizr/workspaces/../systems/systems.dsl: !include intersystem_relations.dsl at line 3 of /usr/local/structurizr/workspaces/myworkspace.dsl: !include ../systems/systems.dsl at line 1 of /usr/local/structurizr/workspace.dsl: !include workspaces/myworkspace.dsl

  2. change the order of the two lines of the file systems\system_a\intercontainer_relations.dsl

  3. Load workspace.dsl then it works correctly
    relation_bug_project.zip

Screenshot

No response

Code sample

No response

Configuration

structurizr Lite docker bd8d97bd4f58f3cdc90d90dbd0601bece27c53497ded1db061a206698b042585

Severity

Major

Priority

High

Resolution

I have no budget and there's no rush, please fix this for free

More information

No response

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