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.
This is somewhat related to http://drupal.org/node/1788302
It seems that if you have a component that is under a field set then there are two problems that occur.
1. If you intend to make a component mandatory then you receive an error on the field set, not the component itself.
2. The field set causes the import to fail because it tries to make the field set required even if the component is not mandatory.
e.g.,
I will upload a simple patch that will disregard field sets when submitting the upload.
Comment | File | Size | Author |
---|---|---|---|
#4 | webform_import-ignore_fieldsets-1793570-4-D7.patch | 675 bytes | gobinathm |
#1 | webform_import-ignore_fieldsets-1793570-1-D6.patch | 681 bytes | scottalan |
component_fieldset.jpg | 13.96 KB | scottalan |
Comments
Comment #1
scottalan CreditAttribution: scottalan commentedThe patch.
Comment #2
pdrake CreditAttribution: pdrake commentedRunning this in production.
Comment #3
travist CreditAttribution: travist commentedMerged in latest 6.x-1.x. Patch to be ported to 7.x.
Comment #4
gobinathmPatched ported to 7.x
Comment #5
gobinathmSubscribing
Comment #7
gobinathmIssue has been fixed in latest release