Model Server Theia Integration : Changes not reflected in the coffee.ecore from the api-test-menu option "edit" #120
-
From the api-test-menu, the edit api request does not update the changes as it should(in the coffee.ecore model) from the code. By that I mean for example looking at the following code:
I would expect the changes to be reflected after saving the coffee.ecore model by clicking the save(coffee.ecore) from the api-test-menu, but the initial and the "updated" model are the same. Is there anything or steps we are missing here or our understanding of this command/code is distorted? |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 4 replies
-
Hi @NomsaT! |
Beta Was this translation helpful? Give feedback.
-
Hi @ndoschek Thank you so much for the effort. This doesn't seem to work on my side and I am not sure where the problem is. I do get the notifications after triggering the commands via the menu. I did exactly what you did in terms of checking the file. I get no error messages and in the model server it does shows that the "put" API request has been received. Funny enough if I try to undo before the changes I get a notification that says that "cannot undo" which is correct but if I try to undo after the "saved" changes I also get notification that says "successfully undo" which is correct I guess assuming that changes were actually made, but the name of the third eClassifier is and was still the same. surely there's something I am missing. |
Beta Was this translation helpful? Give feedback.
-
HI @ndoschek
|
Beta Was this translation helpful? Give feedback.
-
Hi @ndoschek I am using Windows thought so too initially but it doesn't seem like it. Thank you so much for your help |
Beta Was this translation helpful? Give feedback.
-
Hi @ndoschek Quick update: We have tested the repo on Linux and it works perfectly fine. Otherwise thank you so much for your help :) |
Beta Was this translation helpful? Give feedback.
-
Hi @NomsaT, I checked the behaviour in meantime on a Windows VM and I could reproduce the same issues there as well. |
Beta Was this translation helpful? Give feedback.
-
Hi @ndoschek Thank you so much. Will look out for the updates. Enjoy the rest of your day :) |
Beta Was this translation helpful? Give feedback.
Hi @NomsaT,
Thank you for the update! Glad it works now on Linux!
I checked the behaviour in meantime on a Windows VM and I could reproduce the same issues there as well.
I opened a bug on the emfcloud-modelserver repository that addresses that issue.