Community
Participate
Working Groups
The lastUpdateTimestamp for CDOViews is updated in the invalidate method. For the committing transaction however inivalidate is never called and therefore the timestamp is not updated. This can cause wrong results when merging since the own changes (if there have been no other changes later) won't end up in the changeSet because the lastUpdateTimestamp is not updated and therefore the revisions are never fetched from the cache.
Created attachment 187625 [details] patch patch to update lastUpdateTimestamp when committing.
Created attachment 187628 [details] Patch v2 - ready to be committed I've re-added InternalCDOView.setLastUpdateTime(). It was present in 3.0 already. And I've added a simple test case. Go ahead please ;-)
Committed revision 6933: - trunk/plugins/org.eclipse.emf.cdo.server - trunk/plugins/org.eclipse.emf.cdo.tests - trunk/plugins/org.eclipse.emf.cdo
Available in R20110608-1407