| Summary: | Regression in Bugzilla_326518_Test.testIndexBranchMerge | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | Eike Stepper <stepper> | ||||||
| Component: | cdo.core | Assignee: | Pascal Lehmann <pascal.lehmann> | ||||||
| Status: | CLOSED FIXED | QA Contact: | Eike Stepper <stepper> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | martin.fluegge, pascal.lehmann | ||||||
| Version: | 4.0 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows 7 | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | 335432 | ||||||||
| Bug Blocks: | |||||||||
| Attachments: |
|
||||||||
|
Description
Eike Stepper
Martin, please have a look occasionally. It may be caused by the new view synchronization, see bug 335080 The testcase logic has been altered, the 'bad' path should be catching the exception, while the 'good' path is committing without exception (there are no conflicting changes made, so merge should work fine). The ObjectNotFoundException was caused by an index problem which should be fixed with the patch of #326518. However, while debugging I noticed that the merge changeSets are not computed correctly anymore, that's why the commit of the merged data fails. I'll look into it later. Hi pascal, do you mean that the problem is more CDO core specific and should be fixed there? Maybe legacy simply call the wrong method in the wrong place. Hi Martin, I don't think it's legacy related, the access to the 'deleted' object causes a problem during the merge for legacy while for native it does a bit later during the commit (which is caught). The problem is the reference to a deleted object, which is caused by a faulty merge because of the wrong (target in this case) changeset. I took the bug from you :) Cool, less work to do :) But I'll stay on the cc list if there are any question about legacy ;) Thank you guys ;-) Created attachment 187612 [details] Updated patch (separation of timestamp generation & actual set) (In reply to comment #12) > (In reply to comment #10) > Updated? I only see a new test class i the patch. It was never committed, but there are already 2 versions posted :) > Which one? The one from Nov., 3rd? I can't even apply that one anymore ;-( Yes, that one. Interesting as it applies without problems here. I attached an updated version :) argh, wrong bug Created attachment 187626 [details]
testcase
Restored original testcase logic
Committed revision 6934: - trunk/plugins/org.eclipse.emf.cdo.tests Available in R20110608-1407 |