Skip to content
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

Value types are not imported from Submodel Json files #73

Closed
d-hillen opened this issue Apr 20, 2021 · 1 comment
Closed

Value types are not imported from Submodel Json files #73

d-hillen opened this issue Apr 20, 2021 · 1 comment
Assignees
Labels
Metamodel V2.0 The issue is regarding AASPE with Metamodel version V2.0 Needs: Triage Needs sorting

Comments

@d-hillen
Copy link

Hello everyone,

Describe the bug
Importing a Submodel from Json clears all valueType entries of SubmodelElements (e.g. Property, Range).

To Reproduce
Create a Submodel Json for testing:

  1. Create and export a Submodel to Json
    1.1. Create a Submodel with a Property and select any value type
    1.2. Select the Submodel
    1.3. Export the Submodel to Json (File->Export-> Export Submodel to Json)
    1.4. valueType field of Property is correctly set within the Json file

Reproduce the bug:
2. Import a Json Submodel
2.1 Select a Submodel in any project
2.2 Import the previously created Submodel (File->Import-> Import Submodel from Json)
2.3 Value type is empty (exporting this Submodel again leads to empty valueType fields within the Json)

Expected behavior
Value types of SubmodelElements within a Json Submodel shall be imported correctly.

Desktop (please complete the following information):

  • OS: Windows 10 Enterprise
  • Package Explorer: v2021-02-25
@martafullen martafullen transferred this issue from admin-shell-io/aasx-package-explorer Feb 16, 2024
@martafullen martafullen transferred this issue from another repository Feb 21, 2024
@juileetikekar juileetikekar self-assigned this Mar 28, 2024
@juileetikekar juileetikekar added Needs: Triage Needs sorting Metamodel V2.0 The issue is regarding AASPE with Metamodel version V2.0 labels Mar 28, 2024
@juileetikekar
Copy link
Contributor

Hi @d-hillen,

Please use the latest version of the AASX Package Explorer, which fixes this issue and also supports the V3 version of the AAS Metamodel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Metamodel V2.0 The issue is regarding AASPE with Metamodel version V2.0 Needs: Triage Needs sorting
Projects
None yet
Development

No branches or pull requests

2 participants