Skip to content
This repository has been archived by the owner on Apr 26, 2021. It is now read-only.

Export Not Functioning #37

Open
jtg-pics opened this issue Apr 30, 2020 · 9 comments
Open

Export Not Functioning #37

jtg-pics opened this issue Apr 30, 2020 · 9 comments

Comments

@jtg-pics
Copy link

Steps to reproduce:

  1. Create a new project (File > New)
  2. Attempt to export (Tools > model interchange > export)
    Select the top level package ("Untitled")
    OK

Error shown:
image

Additional information:
Using StarUML version 3.2.2

@faizanvahevaria
Copy link
Contributor

@jtg-pics
Element you have selected is StarUML project so to export you must select package in StarUML

Please close if this work

@jtg-pics
Copy link
Author

jtg-pics commented May 1, 2020

@faizanvahevaria Thanks, looks like StarUML doesn't create any packages as part of the default structure. After manually creating a package I was able to generate a .json file however the file contains no meaningful model information:
image

@faizanvahevaria
Copy link
Contributor

@jtg-pics
Can your please send me your mdj file

@jtg-pics
Copy link
Author

jtg-pics commented May 4, 2020

@faizanvahevaria
Copy link
Contributor

faizanvahevaria commented May 4, 2020

@jtg-pics
The file is not same as shown in #37 (comment)

Though i have made changes in your mdj file and exported json file corresponding that file.

See updated mdj file and generated json file attached zip file
mdj_and_json.zip

And for this extension export/import
this JSONSchema structure should be followed -> Link
in StarUML project

@jtg-pics
Copy link
Author

jtg-pics commented May 4, 2020

Didn't save that project. That file is experiencing the same issue, confirmed before sharing.

@faizanvahevaria
Copy link
Contributor

Try downloading from your link #37 (comment)
Its not same as you have shown in the screenshot
https://user-images.githubusercontent.com/63125232/80816239-24b21b80-8b9d-11ea-883e-bbaa9ab34bbb.png

@jtg-pics
Copy link
Author

jtg-pics commented May 4, 2020

Correct. I no longer have the file shown in the screenshot. The file I have shared experiences the same exact error as the one I was originally working with that is shown in the screenshot.

@faizanvahevaria
Copy link
Contributor

So,
model-interchange export follows the project structure as mentioned in this ticket : link

you can find sample mdj file and exported json file in the attachment
sample_mdj_and_json.zip

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants