Download & Extend

Should write log message if the requested file is not found

Project:FileField
Version:6.x-3.0-beta1
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

I think it would be very useful if, while trying to display an image, that if the original file (files.filepath) did not exist it would write a log message to say so.

Comments

#1

Project:ImageField» FileField
Version:6.x-3.0-beta1» 6.x-3.0-beta1
Status:active» needs review

This would probably live in FileField, so that it would work no matter what formatter you're using (e.g. FileField, ImageField, or ImageCache). How's this look?

AttachmentSize
filefield_verify_file.patch 755 bytes

#2

quicksketch: Awesome, thanks! I'll give it a spin on our dev server, see how it works with an in-development project.

#3

Seems to be working fine.

#4

Status:needs review» fixed

Thanks, committed.

#5

Status:fixed» closed (fixed)

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