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

Robin Monks drupal-devel at drupal.org
Thu May 5 22:42:01 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
 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.


Robin




Robin Monks




More information about the drupal-devel mailing list