eclipse-aaspe / package-explorer

AASX Package Explorer
Other
44 stars 12 forks source link

Import Submodel as JSON #30

Open foprs opened 5 months ago

foprs commented 5 months ago

Describe the bug I want to import a Submodel as JSON via File/Import/Import Submodel from JSON. The import works only with a weird workaround.

To Reproduce Steps to reproduce the behavior:

  1. Select an AAS
  2. Go to 'File/Import/Import Submodel from JSON' and select a JSON SMT

Expected behavior SMT is loaded into the AAS that is selected in the tree . But there is instead an error "Submodel Read: No valid Submodel, Env, source file selected. When creating a SM before the import and selecting it and then importing the other SMT as JSON it works. The SMT from the JSON will be copied below the existing SM.

Screenshots

image

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

MichaelHoffmeisterFesto commented 2 months ago

Current branch name: MIHO/Post_XMAS2023_Bugfixes