This path makes the fieldfield_meta function check to see that there is a filepath on the file object before analyzing.

Members fund testing for the Drupal project. Drupal Association Learn more


Souvent22’s picture

596 bytes

Patch attached.

quicksketch’s picture

Title: File could not have a path » Skip FileField Meta checks if file does not exist on disk
Category: bug » task
Status: Active » Fixed
839 bytes

Initially 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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.