[drupal-devel] [bug] 404 when file_transfer(.,.) fails

Robin Monks drupal-devel at drupal.org
Thu May 5 22:50:16 UTC 2005

Issue status update for http://drupal.org/node/22118

 Project:      Drupal
 Version:      cvs
 Component:    file system
 Category:     bug reports
 Priority:     normal
 Assigned to:  Robin Monks
 Reported by:  Robin Monks
 Updated by:   Robin Monks
 Status:       patch

Side note: I tested this, and it seems to work OK.  Although I probably
wasn't vigorous about it.


Robin Monks

Previous comments:

May 5, 2005 - 22:35 : Robin Monks

Attachment: http://drupal.org/files/issues/404 on file not found.patch (699 bytes)

"The image module uses file_transfer and if for any reason the file is
gone, then you'll get an infinte number of error messages which --
because they are in a  -- are invisible..."

Chx_ told me about this bug, so volia! patch attached.

This patch checks to ensure that the file can be accessed and
generenates a drupal_not_found if it hits a snag.


More information about the drupal-devel mailing list