- Issue created by @joelpittet
- Merge request !37Issue #3502989: Converts required, multiple “Select Options” with one option to Checkbox, causing array to string conversion errors → (Open) created by joelpittet
During the migration of webform submissions from Drupal 7 to Drupal 10 using webform_migrate
, an error occurs when migrating required "Select options" fields. These fields are incorrectly migrated as "Checkbox" with #multiple
enabled, leading to array-to-string conversion warnings.
Array to string conversion WebformSubmissionStorage.php: 1352
Example export of the different component configs from the migration and two default checkbox and checkboxes.
→
Additionally, when you view the checkbox there is no way to have a title and checkbox label that I had in D7, though checkboxes type does allow for this presentation. Example of presentation:
→
webform_migrate
to migrate a Drupal 7 webform that contains a required single option "Select options" type component.d7_webform
.d7_webform_submission
migration and check logs.Array to string conversion WebformSubmissionStorage.php:1352
.#options
array is properly handled.Needs review
2.0
Code