UUID is Replicated rather than Generating a New UUID and Replicating a node

When you replicate a node and are using UUID, the UUID is replicated. The expected behaviour for the replication should be that a new UUID is created for that replicated node.

Comments

jgalletta’s picture

Replicate does not assume any module is installed besides core modules.

One of the feature of this module is to provide several hooks so developers are able to tune the replication system as needed, so I don't think it can be considered as a bug.
As I can't possibly know which modules will be installed on a Drupal site, it's your responsibility to implement one of Replicate hooks to do what you want.

For example, field_collections were not correctly replicated, so I created the module replicate_field_collection to manage them.

UUID module could also implement one of Replicate hooks. That would be better code-wise. You can try to submit an issue to UUID and link to this one.

thtas’s picture

This patch for uuid works nicely - very simple (issue here https://www.drupal.org/node/2235947)

https://www.drupal.org/files/issues/uuid-2235947-03-replicate-compatibil...

Could even be rolled in to your own custom module

ciss’s picture

Status: Active » Closed (duplicate)
Related issues: +#2235947: Replicate/UUID compatibility