Community
Participate
Working Groups
Cloned from: 361819: Double refresh breaks model consistency https://bugs.eclipse.org/bugs/show_bug.cgi?id=361819 It happens in cases, when server side contains objects with greater version by value of two or more comparing to local version. When two refresh are called on the session, first refresh brings newer revision adds to local cache and converts object to PROXY state, second updates removes newer revision from local cache. PROXY state is resolved with a revision, found in the local cache (it is the first version revision).
Hi Egidijus, I thought I did merge (cherry pick) bug 361819 fix from 4.1 but something must have gone wrong. The tests are now failing in 4.0. Probably because some changes in CDORevisionManagerImpl are missing. Can you please investgiate?
Created attachment 208258 [details] attached patch RevisionManager was not included into commit. Attached patch contains missing part, but I did not commit it. For some reasons I cannot run whole test - tests from bugzilla package are not collected into test suite. ((AbstractBundle)bundle).getClasses() gives empty list
Your patch did not contain the right changes but I got them from master. commit 046111e9823a749eff20516bcbeb404a4b5f2ce2
Closing.