Summary: | Cannot close unsaved diagram | ||
---|---|---|---|
Product: | [Modeling] Sirius | Reporter: | Udo Walker <udo.walker> |
Component: | Diagram | Assignee: | Project Inbox <sirius.diagram-inbox> |
Status: | NEW --- | QA Contact: | |
Severity: | normal | ||
Priority: | P5 | CC: | cedric.brun, esteban.dugueperoux, laurent.redor, pierre-charles.david |
Version: | unspecified | Keywords: | needinfo, triaged |
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
See Also: |
https://git.eclipse.org/r/55987 https://bugs.eclipse.org/bugs/show_bug.cgi?id=470457 |
||
Whiteboard: |
Description
Udo Walker
2014-11-12 10:09:40 EST
Hi Udo, Can you provide an example to reproduce your exception? Best Regards. I tried reproducing similar errors using Ecore Tools, but could not find what could cause them. Anyway there are two bugs here: 1. XMLSaveImpl.save() fails with an NPE. This may be a bug in EMF itself, or in EcoreTools which produces corrupted ecore models that XMLSaveImpl can not handle. I'm putting Cédric (who maintains Ecore Tools 2) in CC to see if this stack rings a bell to him. 2. Sirius is not robust enough in the face of saving errors in the semantic models. We should detect and report it more gracefully, and not block the user in a situation where he can neither save nor close the editors (which require saving). The second is the one that concerns Sirius, and is probably true regardless of the details of the saving failure. New Gerrit change created: https://git.eclipse.org/r/55987 Moving out of the 4.0 scope for now, along with all the other issues which were there "by default". This does not mean some of these will not be re-integrated at some point, but for now these issues are not part of the roadmap for 4.0. If you feel strongly about this removal from 4.0 and/or are ready to sponsor the corresponding work, feel free to comment. |