What about when cloning the registration type also include associated fields?

I found and tried the solution in Profile2 issues. #13 patch
http://drupal.org/node/1317446#comment-5641522 seems there is no need a lot of coding.

Thanks!

Comments

levelos’s picture

Status: Active » Closed (works as designed)
jerdavis’s picture

Category: feature » bug
Status: Closed (works as designed) » Active

Cloning and exporting do not currently capture field configurations. That reads as a bug, not works as designed. What use is it to even offer cloning or export if all the work you're saving is this:

{
  "name" : "demo_registration",
  "label" : "Demo registration",
  "locked" : "0",
  "weight" : "0",
  "data" : null,
  "rdf_mapping" : []
}

That seems pretty useless. I'd think this deserves a bit more attention?

levelos’s picture

Status: Active » Closed (works as designed)

It maybe useless, but that's the way Entity API's cloning mechanism works. The patch you point does not add the ability to clone an registration type with it's fields. If you have a suggested solution, happy to explore.

elvismdev’s picture

So... is over there finally a solution to this cloning and exporting problem? i am on the same situation cannot export or clone a registration type :(

amysiano4x3’s picture

Try Field Tools Module, this seemed to have the functionality you are looking for: http://drupal.org/project/field_tools

elvismdev’s picture

Thanks @aksiano i give a try to Field Tools module and it really helps in some part for what i need, anyway i am looking forward to use the default "clone" option as it should work, i mean to clone the whole entity (registration type) more than a copy of the fields of this registration type, with Field Tools i can clone or copy all the fields with all his already configured options from one registration type to another. But i can not for example copy others configurations like the presentation of the fields, the order, and other things like the configuration of Conditional Fields that i have setup for some of them. Instead, all this missed things have to be done on hand again and again, thing that could be done working via the clone registration type option.

Now i would like to ask, is this a bug from Entity Registration module or another one related to?

elvismdev’s picture

Issue summary: View changes

Link correction

imfaber’s picture

Issue summary: View changes

This patch seems to do the trick for the clone action.
The export is not altered tho.

peterlolty’s picture