Skip to content

[BUG] Submodel Sharing #593

@schwens-iff

Description

@schwens-iff

Describe the bug
I encountered this bug while trying to share a submodel between 2 AAS.
First of all this feature is not implemented. Second, using a hack in the UI caused multiple the AAS to become corrupted.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new Submodel in an AAS
  2. Copy the ID of the new Submodel
  3. Create a new Submodek in a second AAS using the copied ID
  4. An error will occur, regardless the Submodel will added to the AAS
  5. Exporting both AAS will output a file that contains the log of an internal Server Error
  6. Deleting the Submodel in the first AAS will leave behind a fragment in the second AAS
  7. The fragment in the second AAS cannot be deleted
  8. Exporting the first AAS will work, exporting the second will throw an error in the UI

Expected behavior
Feature to add an existing Submodel as menu point under 'create submodel'
Export without errors.
Feature to remove an Submodel from an AAS.
Deleting an Submodel will remove all references of it in all AAS or the the ability to remove Submodel fragments.

BaSyx (please complete the following information):

  • BaSyx Version [v2.0]
  • AAS Version [DotAAS V3], AAS and Submodels where created by UI only

Used Asset Administration files (.aasx)
Ofen A09(1).aasx.txt
Ofen A09.aasx.txt
Ofen A12.aasx.txt

BaSyx configuration
basyx-setup.zip

Desktop (please complete the following information):

  • OS: [Microsoft]
  • Browser [Mozilla Firefox]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    To triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions