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.
The schema "webform_component" contains 2 times the "mandatory field". The second field should be email because when you try to add a new component to the form, Drupal throws an error "Unknown column 'email' in 'field list' query: INSERT INTO webform_component (nid, cid, pid, form_key, name, type, value, extra, mandatory, weight, email)"
Change line 153 of webform.install from "mandatory" to "email" and everything works fine
Comments
Comment #1
quicksketchThis was already fixed in #276729: Install schema typo for field email. But this is a really serious problem. I'm making a new release today.
Comment #2
quicksketchThe 2.1.1 version is now out. Sorry for the trouble!
Comment #3
Agilealan CreditAttribution: Agilealan commentedThis is a great capability to add to Drupal (many thanks)but I can't seem to get started with it... I believe I'm still having this same problem with 6x 2.1.1 (and update.php) done...
2 errors follow:
Comment #4
quicksketchBecause the 2.1 version already modified your database (I didn't make 2.1.1 undo the change then redo it properly), you'll need to uninstall the module and try it all over again.
You can do this by:
- Going to admin/build/modules
- Turn off Webform module
- Go to admin/build/modules/uninstall
- Uninstall Webform module
- Turn Webform module back on again, from which it'll start a clean install
Sorry for the trouble :(
Comment #5
Agilealan CreditAttribution: Agilealan commentedWorks perfectly now- thanks for quick response!!
Comment #6
greg911 CreditAttribution: greg911 commentedSorry, I haven't "looked" for an already reported bug... I just corrected the code in the module and made it work... .But I thought that someone without any Drupal knowledge might find it useful ;)
Thanks for the quick response
Comment #7
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.