Skip to content

traversal.walksubmodel(): Child Submodel Elements of Entity and Operation are skipped #423

@ChristophRh

Description

@ChristophRh

The code of traversal.walk_submodel() is considering only Submodel Elements inside:

  • Submodel: collection.submodel_element
  • Submodel Element Collection / List: collection.value

but, according to the specification, Entity and Operation may contain Submodel Elements as well:

  • Entity: entity.statement
  • Operation: operation.input_variable, operation.output_variable, operation.in_output_variable

That leads to missing files in file_store after reading an AASX file with an Entity containing a Submodel Element File.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingsdkSomething to do with the `sdk` package

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions