Overwriting data when doing merges
Overwriting data in a merge:
Let's say we have 2 mood repositories, and let's call them A and B.
Now, if I have done changes on a field on an element in environment A and filled it with data (let's say I have a person element and have changed it's name). And in environment B there has been a change in another field for example the telephone number on that same person changed. When we do a merge from A-->B. Will the person element in B keep the telephone number that was changed in B while also getting the new name from environment A ?
Please ask if the question is not clear enough.
Getting an answer to this would be helpful in future merges as sometimes by accident we tend to run a synchronizer in environment A that might have old data and we don't want to bring all that old data and overwrite the data in environment B.
-
Official comment
MooD has what we call 'field level atomicity' so fields will merge respecting individual modified dates of data on those fields. However, a name change isn't technically a 'field' change (it's stored as an intrinsic part of the person element), and is an element change, Either way these are both independently assessed.
So, in your example, with the default options of Integrator (click the reset button if in doubt!)..I would expect you get the result that you stated.
While I'm here - for smaller targeted updates to repositories - deployment packs are sometimes preferred, however they are not 'merge' operations, and more like 'copy paste'.
When using integrator or deployment packs, we recommend performing these actions while BIE/Active Enterprise is stopped.
Comment actions -
Hey,
Older data is never written when merging unless you select the option under Options called
Update in target
[X] Elements that are newer in the source
[ ] Elements that are older in the source(So do not tick the dark green tick box here if you want to avoid old data getting written into your fields)
Please sign in to leave a comment.
Comments
3 comments