This is my code which trying to merge edit change to the parent version. The reconcileResult indicates there is no confict, howerver the change did not goes to the parent version. Have i missed something?
var childVersion = versionManager.GetVersion(draftingVersion);
var parentVersion = childVersion.GetParent();// versionManager.GetVersion(upperVersion);
var reconcileOptions = new ReconcileOptions(parentVersion)
{
ConflictDetectionType = ConflictDetectionType.ByRow,
ConflictResolutionMethod = ConflictResolutionMethod.Continue,
ConflictResolutionType = ConflictResolutionType.FavorEditVersion,
};
// Perform reconcile
// var reconcileResult = childVersion.Reconcile(reconcileOptions);
PostOptions postOptions = new PostOptions(parentVersion);
postOptions.ServiceSynchronizationType = ServiceSynchronizationType.Synchronous;
ReconcileResult reconcileResult = childVersion.Reconcile(reconcileOptions, postOptions);