I’ve noticed this on a couple of sites I’ve been working on locally but have put it aside in case it was just my local environment that was at fault, but now I’ve got a site in production where the problem is occurring, and it seems to only have started happening after upgrading to 2.5.2.
When adding a file to a normal file field you can upload the file to the file manager OK (and you can see it in the file manager fine) and when the modal window closes, you can see the thumbnail in place. But after saving the entry, the thumbnail preview is broken and the image doesn’t appear in templates. Looking in the db, the data is getting saved without the {filedir_x} in front of the file name.
This is with stand-alone file fields. However, if you try the same thing with a file field in a matrix, the data is saved OK.
The site in question had hundreds of files saved correctly when it was on 2.5.0, so it seems the problem has only occurred with 2.5.2.
Has anyone else had this? Do I need to add this to the bug tracker?