| Summary: | LoadTransition notifies ObjectStateHandler before revision is set | ||
|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | Eike Stepper <stepper> |
| Component: | cdo.core | Assignee: | Eike Stepper <stepper> |
| Status: | CLOSED FIXED | QA Contact: | Eike Stepper <stepper> |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 4.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 247141 | ||
Committed revision 7575: - trunk/plugins/org.eclipse.emf.cdo Resolving. Available in R20110608-1407 |
LoadTransition had this code: changeState(object, CDOState.CLEAN); object.cdoInternalSetRevision(revision); This leads to possible ObjectStateHandlers being notified with the revision still being null. Must be: object.cdoInternalSetRevision(revision); changeState(object, CDOState.CLEAN);