Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #2
pwolanin CreditAttribution: pwolanin as a volunteer and at SciShield commentedThanks 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.
Comment #3
pwolanin CreditAttribution: pwolanin as a volunteer and at SciShield commentedActually 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
Comment #4
gwenth CreditAttribution: gwenth commentedThanks for your help :) I'll open an issue in webform then !
Comment #5
pwolanin CreditAttribution: pwolanin as a volunteer and at SciShield commented@gwenth - I already moved this issue to the webform queue
Comment #6
DanChadwick CreditAttribution: DanChadwick commentedWebform 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.