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.
On a clean Drupal 7.41 installation with only webform-7.x-4.12 installed, I witness a strange behavior when adding components.
When no component is present, the required column is absent (see screenshots).
This might be related to the following:
- #1133958: Make the "Field Key" column more accessible in Webform
- #2242011: Add new component field disappears when you add one component
- #1591476: Ability to theme Edit, Clone and Delete links on form components page
Any ideas?
Comment | File | Size | Author |
---|---|---|---|
#5 | webform-missing_required_column-2649042-5.patch | 1 KB | PascalAnimateur |
| |||
required-ok.png | 24.76 KB | PascalAnimateur | |
required-missing.png | 20.93 KB | PascalAnimateur |
Comments
Comment #2
thlor CreditAttribution: thlor at ADM Interactive commentedThis issue is the manifestation of the following bug in Drupal core:
#997370: Tabledrag is not hiding the correct columns
Comment #3
PascalAnimateur CreditAttribution: PascalAnimateur commented@thlor: The issue you mention is D8 while I'm experiencing this in D7... the discussion over there pointed to #988930: Sticky table headers need to react properly to "show/hide weights column" link which was committed do D7 core some time ago.
Therefor, I think this issue is specifically related to webforms 7.x-4.12 and not D7 core.
I remember the bug not being present in previous versions of webform 7.x-4.x so I tried 4.11 and the bug went away. By comparing the two versions, I suspect something is going on inside
template_preprocess_webform_components_form
and_webform_components_form_rows
with the 'Form key' column that was added there.Marking this as Active again...
Comment #4
PascalAnimateur CreditAttribution: PascalAnimateur commentedHum turns out it's caused by webform_add_existing .. moving this to issue #2447717: Release 7.x-2.0 DOES NOT work with webform 7.4 and closing this issue.
Comment #5
PascalAnimateur CreditAttribution: PascalAnimateur commentedNope.. wrong again.. both modules needed fixing (webform / webform_add_existing).
See #2447717-3: Release 7.x-2.0 DOES NOT work with webform 7.4
Comment #6
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedThis is a duplicate of: https://www.drupal.org/node/2662094
Comment #7
DanChadwick CreditAttribution: DanChadwick commentedThis was fixed in 4.13.