Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 251834

Summary: [ClassD] - "Save error" dialog is shown afetr any attempt to save ClassD
Product: [Modeling] GMF-Tooling Reporter: Michael Golubev <borlander>
Component: SamplesAssignee: Michael Golubev <borlander>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Bug Depends on: 251841    
Bug Blocks:    

Description Michael Golubev CLA 2008-10-23 08:15:22 EDT
Steps to reproduce: (requires EMF-M2)

Create ClassD, 
Create some element on it, 
Move element
Invoke save (e.g. by pressing Ctrl-S)

=> Save Error dialog (protocol does not support modifications) is shown
However, diagram editor dirty flag is cleared, and both actual diagram resource and semantic resource contents is correctly saved.
Comment 1 Michael Golubev CLA 2008-10-23 08:43:28 EDT
Investigation: GMF correctly saves the diagram / semantic resources, but fails on attempt to save imported UML library resources (namely, pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml, uri='pathmap://UML_METAMODELS/UML.metamodel.uml', etc).

The real problem is that resources that are loaded through path-map, and actually mapped by the platform:/plugin resources are treated as writable by EMF. 

Comment 2 Michael Golubev CLA 2008-10-24 04:09:48 EDT
Implicitly fixed now. 
To be verified with U2T M3.