You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
With AASX Package Explorer, it's possible to create an AASX file that contains 2 AAS, each having the same id and each having AssetInformation with the same globalAssetId.
To Reproduce
Steps to reproduce the behavior:
File/New
Workspace/Edit
Click AdministrationShells
Add AAS and assign AAS1 as id
Click AssetInformation and assign AAS1Info1 as globalAssetId.
Repeat steps 3 through 5 in order to get exact duplicates.
Save the work as AASX file
Expected behavior
It's not possible to have two AAS in one AASX file with the same ID.
The basyx-python-sdk can't access both AAS models with the same ID because it uses a dictionary and accesses them by ID.
Screenshots
Desktop (please complete the following information):
OS: Windows 10
Additional context
AASX Package Explorer v2023-11-17
The text was updated successfully, but these errors were encountered:
WelliSolutions
changed the title
Possible to create as AASX file with 2 AASX that have the same ID
Possible to create as AASX file with 2 AAS models that have the same ID
Dec 15, 2023
Describe the bug
With AASX Package Explorer, it's possible to create an AASX file that contains 2 AAS, each having the same
id
and each having AssetInformation with the sameglobalAssetId
.To Reproduce
Steps to reproduce the behavior:
AAS1
asid
AAS1Info1
asglobalAssetId
.Expected behavior
It's not possible to have two AAS in one AASX file with the same ID.
The basyx-python-sdk can't access both AAS models with the same ID because it uses a dictionary and accesses them by ID.
Screenshots
![image](https://private-user-images.githubusercontent.com/14279507/290916790-f8a00980-dbdc-4a56-9688-c12fdb2b5c9e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA3MTEyMzksIm5iZiI6MTcyMDcxMDkzOSwicGF0aCI6Ii8xNDI3OTUwNy8yOTA5MTY3OTAtZjhhMDA5ODAtZGJkYy00YTU2LTk2ODgtYzEyZmRiMmI1YzllLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzExVDE1MTUzOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTEwYTg1ZWM3N2ViM2EwNWM1N2ZkNDBhYTlmYjlkZmJjMTA2NDdiZjRmMDFmYTg1M2E4Njk2NDE1NzFlZWEzYmMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.w_P-KeQUcHgABu7r8YfpU-WoIuwBGEPh3TAb-WuNKh4)
Desktop (please complete the following information):
Additional context
AASX Package Explorer v2023-11-17
The text was updated successfully, but these errors were encountered: