Sirius web - how to download/upload models [message #1844005] |
Thu, 26 August 2021 17:28  |
Eclipse User |
|
|
|
I am having trouble uploading models in Sirius Web.
I am able to download a model with no problems. I get a EMF/XML file.
But when I try to upload that same file, I get an error message.
o.e.s.w.s.g.c.GraphQLController {
"errors" : [ {
"message" : "Field 'projectId' of variable 'input' has coerced Null value for NonNull type 'ID!'",
"locations" : [ {
"line" : 2,
"column" : 27
} ],
"extensions" : {
"classification" : "ValidationError"
}
} ]
}
The emf model does not contain a projectId property.
I noticed that I get the same message even when I just upload any random text file. So I am guessing Sirius Web is not expecting an EMF/XML file?
I noticed that when I download a whole project (a zip file), the model is handled in a json file. I also tried to upload these models with no success.
But I am able to upload a whole project that I downloaded (both upload and download are via zip file)
Any hints or documentation on this is appreciated.
|
|
|
|
Re: Sirius web - how to download/upload models [message #1844070 is a reply to message #1844057] |
Tue, 31 August 2021 03:26  |
Eclipse User |
|
|
|
Hi
I finally took the time to upgrade to the latest Sirius Web (and Components), and now this part works as expected.
But just to make this thread complete for future readers...
I was uploading via the UI. It took a short while to work out the difference between upload/download of projects vs models.
With the latest versions, and with this understanding, it is all working fine.
Thanks Pierre-Charles David
Jad
|
|
|
Powered by
FUDForum. Page generated in 0.24826 seconds