Hi

I think I've noticed a problem after cloning a webform. Everything worked as expected until I tried to export them in feature. The cloned webform didn't appear in my features list.

After searching a while, I figured out the machine_name in the webform table was duplicated but this machine name needs to be unique.
Maybe it will be better if a string was added after the original machine_name.

That's it ! :)

Comments

gwenth created an issue. See original summary.

pwolanin’s picture

Thanks for reporting the bug - can you please update the issue summary with step-by-steps to reproduce the issue?

Rather than referring to features, just noting the relevant database table and column would be fine.

pwolanin’s picture

Project: Node clone » Webform
Version: 7.x-1.0-rc4 » 7.x-4.x-dev

Actually this bug belongs in the webform queue since it should be fixed in webform_clone_node_alter()

http://cgit.drupalcode.org/webform/tree/webform.module#n5267

gwenth’s picture

Thanks for your help :) I'll open an issue in webform then !

pwolanin’s picture

@gwenth - I already moved this issue to the webform queue

DanChadwick’s picture

Status: Active » Closed (works as designed)

Webform does not have a machine_name database field. It has a "form_key" used in the component table, but this does not have to be unique except within a single webform. It is useful to use the same form_key across cloned webform nodes.

Please re-open with more details if you still believe there is a bug.