Replicate core entities

Created on 2 October 2015, almost 10 years ago
Updated 28 July 2025, 5 days ago

Currently the module page states that core entities are managed:

  • Nodes
  • Taxonomy Vocabularies
  • Taxonomy Terms
  • Comments
  • Files

But this is not really the case, if you try to replicate nodes, comments, or vocabulary terms without any custom replication code it works, but for the others it doesn't.

Replicate vocabularies is not possible because of the unique machine name constraint.
Replicate files is not possible because of the unique URI constraint.

What should we do about that? No request for these entities has been made so far, so I think we can just say that we don't support cloning these.

Managing vocabularies would be possible but we would have to generate a random machine name and that would be making assumptions about what developers want to do with the machine name.

Managing files is problematic as the actual file should be duplicated, and the uri updated, so if someone need that it should be managed in a sub module.

What do you guys think?

🐛 Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇫🇷France jgalletta

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024