| Summary: | NPE on rollbacking detached objects | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | Egidijus Vaisnora <vaisegid> | ||||||
| Component: | cdo.core | Assignee: | Caspar D. <caspar_d> | ||||||
| Status: | CLOSED FIXED | QA Contact: | Eike Stepper <stepper> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | caspar_d, laurent.goubet, saulius.tvarijonas | ||||||
| Version: | 4.0 | Flags: | stepper:
review+
|
||||||
| Target Milestone: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Egidijus Vaisnora
Created attachment 176035 [details]
Test case
Changed component. On repository object is removed, while locally object is detached. Rollback attempts to restore detached locally element by obtaining revision from server, but revision from server comes null as it was already deleted. Changing version to 3.0. Let's only use major versions to indicate the development stream. If more precise baseline info is needed let's insert a time stamp in a comment. Changing assignee to emf.cdo-inbox@eclipse.org instead of EMF Compare. Created attachment 190952 [details]
Patch (including testcase)
Using cleanRevisions instead of fetching clean revision from server.
Committed revision 7536: - trunk/plugins/org.eclipse.emf.cdo - trunk/plugins/org.eclipse.emf.cdo.tests Resolving for Caspar... Available in R20110608-1407 |