Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
CamilleLetavernier opened this issue Aug 4, 2020 · 0 comments

Comments

@CamilleLetavernier
Copy link
Member

CamilleLetavernier commented Aug 4, 2020

Original issue: eclipsesource/ecore-glsp#124

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant