Postponed
Project:
Profile 2
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Nov 2010 at 21:02 UTC
Updated:
1 Jun 2012 at 15:14 UTC
I kind of expected to see the same fields as the original profile type in my clone, but maybe I'm missing something. What's the idea behind cloning if the clone starts with an empty profile type? I might as well create a new one from scratch, right?
Comments
Comment #1
fagoMakes sense to me, I guess it needs to be fixed generically in the Entity API though.
Comment #2
klausiMeh, handling that generically with the Entity API or the Entity UI seems to be complicated and error-prone. Entity providing modules should care about cloning themselves when they have properties (e.g. fields) that are not part of the entity object itself.
Comment #3
metakel commentedNot only the clone function does not work, but also the export function.
The exported code of my lot-of-field profile only includes:
Comment #4
Ingmar commentedAny update on this? Just ran into this problem as well.
Comment #5
fagoLet's handle this in http://drupal.org/node/1317446
Comment #6
geek-merlinhmm, the code over there at #1317446: Cloning a profile type doesn't copy the fields suggests this should be supported generically.
but setting to postponed, feel free to change.
also crosslinking #1342590: node_clone -> entity_clone