| Summary: | CDOSetFeatureDelta doesn't have oldValue | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | Gábor Nagy <gnagy> | ||||||
| Component: | cdo.core | Assignee: | Pascal Lehmann <pascal.lehmann> | ||||||
| Status: | CLOSED FIXED | QA Contact: | Eike Stepper <stepper> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | cbateman | ||||||
| Version: | 4.0 | Flags: | stepper:
review+
|
||||||
| Target Milestone: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Gábor Nagy
Pascal, I have the feeling that we never serialize the oldValue. Do you think it's generally reasonable that we remember it locally? Created attachment 188688 [details]
patch v1
Yes, the oldValue is never serialized, so I think it doesn't hurt keeping it in the featureDelta in the dirty transaction.
The patch puts the oldValue in the CDOSetFeatureDelta, also updates the oldValue for Notfications and probably fixes a notification problem for set operations on lists.
Created attachment 188690 [details]
Patch v2 - ready to be committed
Just a minor reformat ;-)
Committed revision 7054: - trunk/plugins/org.eclipse.emf.cdo - trunk/plugins/org.eclipse.emf.cdo.common Committed patch v2 Available in R20110608-1407 |