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

Bug 338620

Summary: CommitIntegrityCheck.hasPersistentOpposite is broken
Product: [Modeling] EMF Reporter: Caspar D. <caspar_d>
Component: cdo.coreAssignee: Caspar D. <caspar_d>
Status: CLOSED FIXED QA Contact: Eike Stepper <stepper>
Severity: normal    
Priority: P3 CC: saulius.tvarijonas
Version: 4.0Flags: stepper: review+
stepper: review+
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Patch v1
none
Patch (incremental) none

Description Caspar D. CLA 2011-03-01 23:49:35 EST
Current code:

  return ref.getEOpposite() != null && EMFUtil.isPersistent(ref);

should be 

  return ref.getEOpposite() != null && EMFUtil.isPersistent(ref.getEOpposite());
Comment 1 Caspar D. CLA 2011-03-01 23:52:57 EST
Created attachment 190106 [details]
Patch v1
Comment 2 Caspar D. CLA 2011-03-02 21:09:00 EST
Committed revision 7322.
Comment 3 Caspar D. CLA 2011-03-07 03:17:21 EST
Code is still not quite right. Patch in a minute.
Comment 4 Caspar D. CLA 2011-03-07 03:33:41 EST
Created attachment 190516 [details]
Patch (incremental)
Comment 5 Caspar D. CLA 2011-03-09 01:41:10 EST
Committed revision 7426.
Comment 6 Eike Stepper CLA 2011-06-23 03:40:00 EDT
Available in R20110608-1407