Community
Participate
Working Groups
We export changes on the client side and transform them to the server, where they get committed. Objects marked to get deleted (EcoreUtil.delete(object);) were not deleted on the server side. Looks like they get lost between export and import. Please have a look to exportChanges and importChanges in CDOTransactionImpl. For me detached objects are not handled. As a result the delted object keeps untouched. I would expect to get an updated cdo_version with a number < 0. How to reproduce: - delete an object (EcoreUtil.delete(object);) - call CDOTransactionImpl.exportChanges - call CDOTransactionImpl.importChanges -> check cdo_version of the object
Created attachment 221031 [details] Patch We tried to patch the bug. Therefore we export detached objects and import them again. We don't know if it is the right way to fix the problem. Please review the attached file. Especially the importChanges changes.
Created attachment 221073 [details] Patch Cleaned up version
The file you've attached is not a patch but the complete code of CDOTransactionImpl. I can not use it to see your specific changes. Can you provide me with a real patch?
Comment on attachment 221073 [details] Patch Not a patch.
Moving to the integration branch. Possible fixes can be ported to maintenance later.
No activity or ping here for a month. Please reopen this bug if you feel a need.
Problem still exists.
We'll try to address open problems in 4.3 (master) first and then port fixes back to 4.2.
Moving all open bugzillas to 4.5.
Moving all unaddressed bugzillas to 4.6.
Moving all open bugs to 4.7
Moving all unresolved issues to version 4.8-
Moving all unresolved issues to version 4.9
Moving to 4.13.