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

Bug 400190

Summary: Labels for UpdateAttribute and UpdateReference seem incorrect
Product: [Modeling] EMFCompare Reporter: Vincent Lorenzo <vincent.lorenzo>
Component: CoreAssignee: EMF Compare <emf.compare-inbox>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: laurent.goubet
Version: 1.3.2   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 400186    
Attachments:
Description Flags
An example of the message
none
A project to reproduce this bug none

Description Vincent Lorenzo CLA 2013-02-07 05:04:25 EST
The displayed message for UpdateAttribute seems incoherent : 
      Attribute name : String in <Package> Package1 has changed from 'Package2' to 'Package1'
I think it will be better with : 
      Attribute name : String in <Package> Package1 has changed from 'Package1' to 'Package2'
Comment 1 Vincent Lorenzo CLA 2013-02-07 05:05:32 EST
Created attachment 226681 [details]
An example of the message
Comment 2 Vincent Lorenzo CLA 2013-02-07 05:06:46 EST
Created attachment 226682 [details]
A project to reproduce this bug

To reproduce this bug, you can compare the file model.uml with the file model2.uml.
Comment 3 Laurent Goubet CLA 2013-02-08 04:52:06 EST
Vincent,

When comparing files, the "right" side is considered to be the remote version, and "left" to be the local version. With this in mind, the change was indeed "from 'package2' to 'package1'".

EMF Compare 2 has slightly less confusing difference descriptions, you might want to look at the samples displayed on http://wiki.eclipse.org/EMF_Compare/Specifications/EnhanceReadabilityOfTheStructuralDifferences .