Closed (fixed)
Project:
File (Field) Paths
Version:
8.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Oct 2020 at 08:29 UTC
Updated:
14 Dec 2025 at 21:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
Milosavlevski commentedLooks like a race condition,
$file->save()is called withinfile_move()while file's status is still temporary.Comment #3
fm365pl commentedThank you very much. It works.
Comment #4
miiimooo+1 for committing this - also see #3415187: File is renamed but is Temporary (Pantheon Live Environments)
Tested with Drupal 10.4 and filefield_paths 1.0.0-beta8
Many thanks @Milosavlevski
Comment #6
jstollerHere's an updated patch for 8.x-1.0-beta8. The original wouldn't apply.
Comment #8
jstollerMerge request created against 8.x-1.x-dev.
Comment #9
volegerFixed, thanks. Will be added in the next release.