Closed (fixed)
Project:
FileField
Version:
6.x-3.10
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
25 Oct 2011 at 18:58 UTC
Updated:
27 Apr 2013 at 18:10 UTC
Jump to comment: Most recent file
This path makes the fieldfield_meta function check to see that there is a filepath on the file object before analyzing.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | filefield_meta_no_load.patch | 839 bytes | quicksketch |
| #1 | check-filepath-1321318.patch | 596 bytes | Souvent22 |
Comments
Comment #1
Souvent22 commentedPatch attached.
Comment #2
quicksketchInitially I didn't think this was a very good idea, since the file should always be there... but then thinking about dev/staging environments where the file might be missing on disk even if it's in the DB. I adjusted the patch slightly, but the end-result is the same. Thanks.