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 drush wfx command works fine with delimited files, but fail when creating the new-style Excel xlsx files. These files are actually zip archives containing a variety of XML files. The xlsx exporter creates the stylesheet XML file, incorporates it with other files into a Zip, unlinks the original and attempts to rename the zip as the new files. At this point, When run via drush, the temporary file stream isn't the file system and the rename fails.
Comment | File | Size | Author |
---|---|---|---|
#1 | webform-drush_wfx_xlsx-2443373-1.patch | 1.06 KB | DanChadwick |
Comments
Comment #1
DanChadwick CreditAttribution: DanChadwick commentedThe solution is to attempt the rename, and failing that, copy and unlink the zip.
Committed to 7.x-4.x and 8.x.