-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] AASX cannot be viewed in AASXPackageExplorer after downloading with AAS-Web-UI #510
Comments
Hi @JBlezi Thanks for raising this issue. |
I just added the version of AASXPackageExplorer under Basyx @mdanish98 |
Hi @JBlezi |
Hi, The issue is reproducible at our end. We need to analyse this issue further more in order to find the root cause. Reproduction Steps:
ExampleV3_.aasx
104125_AAS.aasx
Error: Unhandled exception in AasxPackageExplorer v1.0.0.0: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (PackageCentral: while performing load from C:\Users\user\Downloads\Murrelektronik_10415_AAS.aasx at \PackageCentral.cs:line 83 gave: One or more errors occurred. (While opening aasx C:\Users\user\AppData\Local\Temp\tmp4692.aasx from source local file: C:\Users\user\Downloads\Murrelektronik_10415_AAS.aasx buffered to: C:\Users\user\AppData\Local\Temp\tmp4692.aasx at \AdminShellPackageEnv.cs:line 494 gave: While reading the AASX C:\Users\user\AppData\Local\Temp\tmp4692.aasx at \AdminShellPackageEnv.cs:line 484 gave: While reading spec from the AASX C:\Users\user\AppData\Local\Temp\tmp4692.aasx at \xmlization.cs:line 20625 gave: The required property PreferredName has not been given in the XML representation of an instance of class DataSpecificationIec61360 at: conceptDescriptions/[10]/embeddedDataSpecifications/[0]/dataSpecificationContent/dataSpecificationIec61360)) A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (PackageCentral: while performing load from C:\Users\user\Downloads\Murrelektronik_10415_AAS.aasx at \PackageCentral.cs:line 83 gave: One or more errors occurred. (While opening aasx C:\Users\user\AppData\Local\Temp\tmp4692.aasx from source local file: C:\Users\user\Downloads\Murrelektronik_10415_AAS.aasx buffered to: C:\Users\user\AppData\Local\Temp\tmp4692.aasx at \AdminShellPackageEnv.cs:line 494 gave: While reading the AASX C:\Users\user\AppData\Local\Temp\tmp4692.aasx at \AdminShellPackageEnv.cs:line 484 gave: While reading spec from the AASX C:\Users\user\AppData\Local\Temp\tmp4692.aasx at \xmlization.cs:line 20625 gave: The required property PreferredName has not been given in the XML representation of an instance of class DataSpecificationIec61360 at: conceptDescriptions/[10]/embeddedDataSpecifications/[0]/dataSpecificationContent/dataSpecificationIec61360)) Both the AASX files are attached here. |
Describe the bug
When downloading an AASX from the basyx docker aas-environment-v3 using the aas-web-ui it cannot be viewed in the AasxPackageExplorer. The issue seems to be the addition of a valueId tag, that creates the error.
After I manually deleted the valueId tag, the shell can be viewed in the AasxPackageExplorer without a problem.
This is the error in the AasxPackageExplorer logs:
To Reproduce
Expected behavior
Downloaded AASX should be viewable after download without any further modifications
BaSyx (please complete the following information):
Screenshots
If applicable, add screenshots to help explain your problem.
Used Asset Administration files (.aasx/.json/.xml)
Any file
BaSyx configuration
System (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: