Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367527 - textual popup only saves left side changes
Summary: textual popup only saves left side changes
Status: CLOSED FIXED
Alias: None
Product: EMFCompare
Classification: Modeling
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: Juno SR2   Edit
Assignee: EMF Compare CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-23 18:11 EST by John Yotka CLA
Modified: 2013-01-23 07:29 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Yotka CLA 2011-12-23 18:11:38 EST
in looking at the source code for org.eclipse.emf.compare.ui.CompareTextDialog the saveRightContent method has the following line:
    final EObject obj = changeCompare.getLeftElement();

I think it should be "getRightElement()".
Comment 1 Laurent Goubet CLA 2013-01-18 07:42:24 EST
I can't believe we never took the time to look at this ... of course you are right :s.

This is long overdue, but the fix will be included in Juno SR2 (EMF Compare 1.3.3).