- Issue created by @kensae
When you save a file programmatically and add it to a file field with the file field path setting configured, the originale file uri doesn't get updated when the file uri is different from the file uri set in filefield_paths_filefield_paths_process_file.
I discovered this by creating a filename with a timestamp, because there was as slight difference in time between saving the file and saving the referencing entity, I think updating the file uri in filefield_paths_filefield_paths_process_file on the original file entity would solve this issue.
Active
1.0
Code