Should write log message if the requested file is not found

DamienMcKenna - March 17, 2009 - 03:11
Project:FileField
Version:6.x-3.0-beta1
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

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.

#1

quicksketch - March 17, 2009 - 04:37
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

DamienMcKenna - March 17, 2009 - 04:49

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

#3

DamienMcKenna - March 19, 2009 - 10:55

Seems to be working fine.

#4

quicksketch - March 20, 2009 - 05:12
Status:needs review» fixed

Thanks, committed.

#5

System Message - April 3, 2009 - 05:20
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.