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

Bug 355876

Summary: No UpdateReference difference when the referenced values don't exist in the other side
Product: [Modeling] EMFCompare Reporter: Cedric Notot <cedric.notot>
Component: CoreAssignee: EMF Compare <emf.compare-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: laurent.goubet
Version: 1.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
A picture as example
none
The original UML model (technical ids)
none
The modified UML model (technical ids) none

Description Cedric Notot CLA 2011-08-25 12:26:37 EDT
I have a model with an object 'A' which references an object 'B'.
I delete 'B', I add an object 'C' and I reference it from 'A'.
EMFCompare correctly find that 'B' has been deleted and 'C' has been added but it doesn't detect that the reference 'A' to 'B' has changed into 'A' to 'C'.
Comment 1 Cedric Notot CLA 2011-08-25 12:33:11 EDT
Created attachment 202166 [details]
A picture as example
Comment 2 Laurent Goubet CLA 2011-08-26 03:21:01 EDT
Please provide us with the example models you've used for this, especially if they have IDs defined. This will allow us to test this more accurately.
Comment 3 Cedric Notot CLA 2011-08-26 03:39:37 EDT
Created attachment 202207 [details]
The original UML model (technical ids)
Comment 4 Cedric Notot CLA 2011-08-26 03:40:17 EDT
Created attachment 202208 [details]
The modified UML model (technical ids)
Comment 5 Laurent Goubet CLA 2012-03-06 04:47:12 EST
This has been fixed since on master and can no longer be reproduced.