Index: openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl,v diff -u -N -r1.31 -r1.32 --- openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl 27 Oct 2014 16:39:12 -0000 1.31 +++ openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl 14 Jul 2015 11:37:50 -0000 1.32 @@ -72,6 +72,9 @@ if {$filename eq ""} { error "No content for the revision $revision_id.\ This seems to be an error which occured during the upload of the file" + } elseif {![file readable $filename]} { + ns_log Error "Could not read file $filename. Maybe the content repository is (partially) missing?" + ns_return 404 text/plain {} } else { if { $string_p } { set fd [open $filename "r"]