Community
Participate
Working Groups
When the root resource is unregistered in AbstractCDOView the related reference will be set to *null*. This can lead to trouble if the user stored this references and moves backwards to time line to retrieve older versions of the repository. In this case the root resource pointer should not change.
Created attachment 196199 [details] Test v1 Attached a test to demonstrate the problem.
The method AbstractCDOView.clearRootResource() has been introduced in bug 280102 and tested with Bugzilla_280102_Test.testRootResourceInReadOnlyView(). All that was historically before the root resource got created and persisted during the initial system commit, see Repository.initRootResource(). Now we can safely remove AbstractCDOView.clearRootResource()...
Committed revision 7823: - trunk/releng/org.eclipse.emf.cdo.releng
Resolved
Available in R20110608-1407