borkdominik / bigUML

A UML web modeling tool based on GLSP, distributed via a VS Code extension.
MIT License
30 stars 5 forks source link

Modelserver - Client: Failed update discrepancy #150

Closed haydar-metin closed 1 month ago

haydar-metin commented 9 months ago

Assume you move a node to position 20 from origin 10. However, in the model server it is not allowed and therefore the node will stay on position 10 - there is no update to the unnotation file -> thus no changes will be sent to the GLSP-Server, and consequently the client will have for the node the invalid position of 20 until it retrieves the whole model again.

Temp Workaround: com.eclipsesource.uml.modelserver.core.controller.UmlSessionController.commandExecuted(String, Supplier<? extends CCommandExecutionResult>, Supplier<Map<URI, JsonNode>>) introduced in #149

Classes that cause this behavior:

Find a better solution, e.g.:

and remove the current workaround

haydar-metin commented 1 month ago

Modelserver has been removed from architecture