| Summary: | Change subscription are not registered correctly for new CDOResource objects | ||
|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | Simon Mc Duff <smcduff> |
| Component: | cdo.core | Assignee: | Simon Mc Duff <smcduff> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | stepper |
| Version: | 2.0 | ||
| Target Milestone: | M6 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Committed to HEAD Fix available in EMF CDO 2.0.0M6b Generally available. |
By looking at the code I found an error. (I did) :-) CDOVIewIMpl public void committedTransaction(CDOTransaction transaction, CDOCommitContext commitContext) { handleNewObjects(commitContext.getNewObjects().values()); handleNewObjects(commitContext.getNewObjects().values()); handleDetachedObjects(commitContext.getDetachedObjects().keySet()); } Should be public void committedTransaction(CDOTransaction transaction, CDOCommitContext commitContext) { handleNewObjects(commitContext.getNewResources().values()); handleNewObjects(commitContext.getNewObjects().values()); handleDetachedObjects(commitContext.getDetachedObjects().keySet()); } Please add a testcase & Fix that :-)