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.
When using Node Export to import forms between sites, I encountered an error when trying to import forms prior to the preview page functionality into the latest 4.x version. Because these forms do not have columns for "preview_excluded_components" (or other preview fields), they throw PDO errors.
We could increase the resiliency of our new node creation by populating Webforms with the default values before saving them to the database. Patch attached.
Comment | File | Size | Author |
---|---|---|---|
webfrm_defaults_insert.patch | 752 bytes | quicksketch | |
Comments
Comment #1
quicksketchCommitted to 7.x-4.x.
Comment #3
quicksketchComment #5
fenstratNeeds porting to 8.x-4.x.
Comment #6
fenstratCommitted and pushed 3be0c5a to 8.x-4.x. Thanks!