- π¬π§United Kingdom aaron.ferris
Had a quick look at this, does feel a bit odd but we should be able to set the file as permanent during the _webform_submit_component hook....
I need to fully test this however, so consider this a first attempt.
- Status changed to Needs review
almost 2 years ago 3:12pm 4 June 2023 - π¬π§United Kingdom aaron.ferris
Confirmed this seems to work correctly
Before
| fid | uid | filename | uri | filemime | filesize | status | timestamp |
+-----+-----+-------------------+--------------------------------------+------------+----------+--------+------------+
| 12 | 1 | awaitingimage.jpg | public://webform/awaitingimage.jpg | image/jpeg | 1241 | 0 | 1686064335 |
| 13 | 1 | awaitingimage.jpg | public://webform/awaitingimage_0.jpg | image/jpeg | 1241 | 0 | 1686064456 |
+-----+-----+-------------------+--------------------------------------+------------+----------+--------+------------+After
+-----+-----+-------------------+--------------------------------------+------------+----------+--------+------------+
| fid | uid | filename | uri | filemime | filesize | status | timestamp |
+-----+-----+-------------------+--------------------------------------+------------+----------+--------+------------+
| 12 | 1 | awaitingimage.jpg | public://webform/awaitingimage.jpg | image/jpeg | 1241 | 0 | 1686064335 |
| 13 | 1 | awaitingimage.jpg | public://webform/awaitingimage_0.jpg | image/jpeg | 1241 | 1 | 1686064468 |
+-----+-----+-------------------+--------------------------------------+------------+----------+--------+------------+ -
aaron.ferris β
authored 72a5646e on 7.x-1.x
Issue #3200727 by aaron.ferris: Uploaded files are not permanent, files...
-
aaron.ferris β
authored 72a5646e on 7.x-1.x
- Status changed to Fixed
almost 2 years ago 3:21pm 6 June 2023 - π¬π§United Kingdom aaron.ferris
Thanks for the report, fixed and committed to 7.x-1.x
Automatically closed - issue fixed for 2 weeks with no activity.