I was having trouble getting the revision_uid to revert. My solution was to not even export this field and allow node_save to handle setting the revision_uid. I've attached the patch for my solution. I've also attached a second patch which merges my patch with #1245582-33: Restore uuid_features compatibility with uuid.

Comments

daveparrish’s picture

StatusFileSize
new12.46 KB

My last patch was corrupt. Adding a good one.

daveparrish’s picture

After reading the comment here #1008496-15: Node timestamps, options overridden and cause uuuid_node components to appear modified, I realize that my patch is not needed and this is not a bug. My solutions should have been:

/**
 * Implements hook_uuid_node_features_export_render_alter()
 */
function mymodule_uuid_node_features_export_render_alter(&$export, $node, $module) {
  // don't allow uuid_features to export node properties that can change on deployment
  unset($export->revision_uid);
}
daveparrish’s picture

Status: Needs review » Closed (works as designed)