- Issue created by @miiimooo
On Drupal 10.1 I have noticed that video files uploaded to a file field with an ffp configuration stay "Temporary", even though they are renamed and moved to the correct location.
Symptom of this are log entries
Did not delete temporary file "public://2024-01/2024-01-05-102920169213_103037969025_2_750kps.mp4" during garbage collection because it is in use by the following modules: file.
I could only reliably reproduce this in Pantheon live environments. Changing the temp scheme from `public://filefield_paths` to `private://filefield_paths` did not fix the issue
I tested the patch in π Detection of source and temporary scheme is wrong in filefield_paths_filefield_paths_process_file() Needs review but didn't make any difference
Active
Code