Closed WelliSolutions closed 6 months ago
For people working with Package Explorer and products based on the Python Basyx library, we have released a tool that can convert from AASX files made with Package Explorer to a more Basyx compatible format. It works around this bug and bug admin-shell-io/temp-aasx-package-explorer#124.
Find it at https://github.com/LukasBenner/AASFix
Hi @WelliSolutions,
Thank you for raising the issue !!
The issue has been reproduced. We will keep you informed with further updates.
Describe the bug A reference to a submodel which is located in the same AASX file is saved as external reference.
To Reproduce Steps to reproduce the behavior:
idShort
Instance
aasx\aasenv-with-no-id\aasenv-with-no-id.aas.xml
<type>ExternalReference</type>
Expected behavior It should be saved as a model reference instead. The basyx-python-sdk expects a model reference.
Screenshots
Desktop (please complete the following information):
Additional context Version v2023-11-17
From the specification (Part 1:Metamodel) chapter 5.3.7.15 Relationship Element Attributes, I conclude that model reference would be correct, so I file the issue here.