Unable to make attachment as zip file

Created on 17 June 2020, over 4 years ago
Updated 29 January 2024, 10 months ago

Hi,

I've scheduled an export for one of my webforms with adding the csv file as attachment to the sended mail with https://www.drupal.org/project/webform_scheduled_tasks

First time, attachment is in tar.gz, so I gone to admin/structure/webform/config/exporters to set it on ZIP but attachment still be in tar.gz.

What can I do more to fix this ?

Thanks

📌 Task
Status

Needs work

Version

3.0

Component

Code

Created by

🇫🇷France aiphes

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇬🇧United Kingdom intrafusion Edinburgh, UK

    I have created a quick patch which hardcodes the archive type as zip as I could work out how to pull the config option from Webform settings, but this will obviously need changing.

    I also had to comment out the section which calls ```verifyArchive``` as this is expecting a tar file, not sure whether that whole chunk of code could be removed?

  • 🇳🇱Netherlands joshahubbers

    Attatched patch implements the default webform zip export as suggested.

  • Status changed to RTBC 10 months ago
  • Status changed to Needs work 10 months ago
  • 🇬🇧United Kingdom intrafusion Edinburgh, UK

    Unless I'm mistaken this doesn't pull the config option from Webform settings, simply overrides for each export which is not ideal.

Production build 0.71.5 2024