Skip to content

Bug: 2 instances of same node created #143

@peterDSM

Description

@peterDSM

In certain projects created with UA Modeler instances of the same Node are created in different locations.

Observation about projects where this could be observed:

  • Project with multiple nodesets.
  • Duplicated node has two hierarchical relationships (Component of + Organized by)
  • Organized by parent lives in other Namespace

Current Behavior:
The node is created 2 times, once as child in "Component of" relation, once as child in "Organized by" relation.
When running "Validate" in AML Editor, a unique ID violation is detected.

Image

Expected behavior.

  • Only one instance of Node should be created.
  • Generated AML code should be valid

Example project shared by mail.

Reproduced with:
Opc2Aml.binaries.2025-11-07
Opc2Aml.binaries.2025-07-24

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