Community
Participate
Working Groups
Created attachment 261935 [details] Sample project to reproduce With the Validation layer, the tooltip associated with object is someting like > ERROR : The required feature 'eAttributeType' of 'org.eclipse.emf.ecore.impl.EAttributeImpl@33cd31cf{platform:/resource/EcoreToolsSample/My.ecore#//C1/requiredAttribute}' must be set but the id of EObject changes at each Eclipse restart, so the diagram is dirty at each first opening after a restart of Eclipse. For example, after a restart, the same tooltip will be: > ERROR : The required feature 'eAttributeType' of 'org.eclipse.emf.ecore.impl.EAttributeImpl@1dbef39d{platform:/resource/EcoreToolsSample/My.ecore#//C1/requiredAttribute}' must be set Steps to reproduce: * Import the project "EcoreToolsSample" * Open the diagram "root class diagram" * The diagram is dirty: KO * Close the diagram. * Open the diagram again, the diagram is not dirty: OK. * Close the diagram. * Restart eclipse * Open the diagram, the diagram is dirty: KO.
Thanks for your feedback. EMF iself compute this String with an explicit toString on the EObject. I'll see if I can work-around this for the next build.
Fixed with commit : https://git.eclipse.org/c/ecoretools/org.eclipse.ecoretools.git/commit/?id=d22e1dc6819d9651696e98d61188f1bbface948c It will be shipped as part of Neon RC2 later this week.