Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 358055

Summary: CDOPushTransaction.isDirty() should call delegate.isDirty()
Product: [Modeling] EMF Reporter: Eike Stepper <stepper>
Component: cdo.coreAssignee: Eike Stepper <stepper>
Status: CLOSED FIXED QA Contact: Eike Stepper <stepper>
Severity: minor    
Priority: P3    
Version: 4.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Eike Stepper CLA 2011-09-19 02:36:45 EDT
Cloned from: 357400: CDOPushTransaction.isDirty() should call delegate.isDirty()
https://bugs.eclipse.org/bugs/show_bug.cgi?id=357400

Hi Everyone ! 

A minor bug that is very easy to work around : when using the new remote locking capabilities of CDO by opening a transaction using its durable locking ID, if I create a push transaction and import changes from a file, the following state occurs : pushTransaction.isDirty() return falses although pushTransaction.getDelegate().isDirty() returns true.

It seems raisonnable to add || delegate.isDirty() in the CDOPushTransaction.isDirty() method.


What do you think ?
Comment 1 Eike Stepper CLA 2011-09-19 02:43:39 EDT
Committed revision 9172:
- branches/4.0-maintenance/plugins/org.eclipse.emf.cdo
Comment 2 Eike Stepper CLA 2011-09-19 02:44:11 EDT
Resolved.

Unfortunately Indigo SR1 is almost out ;-(
Comment 3 Eike Stepper CLA 2012-09-21 06:51:55 EDT
Closing.