When I'm doing development with client code, and I don't have an up to date copy of their sitedata, I often run into missing file exceptions. Rsyncing 30GB+ isn't always practical. This can be quite annoying. Examples are editing course module settings when images in the description aren't present.
Of course it shouldn't happen on actual production site because playing with sitedata is bad! I can get around the error by hacking the filelib temporarily.
I'd like peoples opinions:
Should this be a fatal exception?
Or should filelib just return a 404 for missing files?
Can not read file, either file does not exist or there are permission problems More information about this error Debug info: [dataroot]/filedir/96/65/96656d3179a228823322761c3de1dad9b0a5a338 Error code: storedfilecannotread Stack trace: line 187 of /lib/filestorage/stored_file.php: file_exception thrown line 881 of /lib/filestorage/stored_file.php: call to stored_file->update() line 424 of /lib/filelib.php: call to stored_file->set_source() line 178 of /course/modedit.php: call to file_prepare_draft_area()