Skip to content
This repository has been archived by the owner on Jul 22, 2020. It is now read-only.

Opening a diagram that doesn't exist should display a proper error #124

Open
CamilleLetavernier opened this issue Mar 6, 2020 · 0 comments
Labels
diagrams Related to Ecore Diagrams (Editor, visualization & edition)

Comments

@CamilleLetavernier
Copy link
Contributor

Currently, when opening a diagram that doesn't exist (e.g. because the file was deleted), the Ecore editor is still "properly" opened in Theia, but is unusable (all actions are disabled). It seems that in this case, there are some unhandled exceptions on the backend, causing random issues.

This can easily be reproduced if an Editor was open in Theia, then deleted from the file system. When reopening Theia, it will attempt to load the editor again, even though the file no longer exists.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
diagrams Related to Ecore Diagrams (Editor, visualization & edition)
Projects
None yet
Development

No branches or pull requests

1 participant