I am converting D7 webforms for D9 and importing data (latest webform 6.1.x and Drupal 9.5.x, CiviCRM 5.63.1).
To do a basic test I created an import file with a single entry and used the UI to import, treating all warnings as errors to be sure. This was successful (thanks Jacob Rockowitz for the video on this Import Webform Submission)
The forms are linked to CiviCRM.
I have a fair few to import so switched to the command line to avoid any time out issues and I can also script this way. I ran into a strange problem where an identical import fails using the CLI.
Drush webform:import myform /my_path/my_file
If I swtich back to the UI all 100 were imported without issue? The submissions look OK in the UI and I checked a few at random against the current D7 system and they are fine. All I see in the dblog is a load of warnings about unserialize(), but that's it.
Here is what I am seeing when I try to use the CLI:
Here is an example of one of the numerous deprecated function debug messages (I am using PHP 8.1 so that's probably it):
Just in case, I have experimented with using --treat_warnings_as_errors and --skip_validation to no effect.
I can do it all via the UI, but would rather not! Any thoughts on this welcome.