timlovrecic / Webform-Protected-Downloads

Recreation of Webform Protected Downloads for Drupal 8
5 stars 8 forks source link

Uploaded files are removed along with temporary files depending on file system settings #6

Open dixhuit opened 6 years ago

dixhuit commented 6 years ago

As per the known issues list mention in the release of Drupal 8.3.2, certain uploaded files are liable to be deleted in time along with temporary files (default is 6 hours). Files uploaded via webform_protected_downloads (WPD) are susceptible to this unless you set "Delete temporary files after" to "Never" at /admin/config/media/file-system.

I don't fully understand the details of the known issue but I gather that files uploaded via WPD are not recorded in the database as "in use" by a particular entity.

anotherjames commented 8 months ago

7 already fixed this in this repo, plus the new version of this back on https://www.drupal.org/project/webform_protected_downloads incorporates the fix.