Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338620 - CommitIntegrityCheck.hasPersistentOpposite is broken
Summary: CommitIntegrityCheck.hasPersistentOpposite is broken
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.core (show other bugs)
Version: 4.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Caspar D. CLA
QA Contact: Eike Stepper CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-01 23:49 EST by Caspar D. CLA
Modified: 2011-06-23 03:40 EDT (History)
1 user (show)

See Also:
stepper: review+
stepper: review+


Attachments
Patch v1 (649 bytes, patch)
2011-03-01 23:52 EST, Caspar D. CLA
no flags Details | Diff
Patch (incremental) (926 bytes, patch)
2011-03-07 03:33 EST, Caspar D. CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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