mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Merged V2.1 to HEAD
6327: Drops alfresco-deployment.zip in build/dist instead of build. 6328:Set AVM file name requirements as lenient as possible. 6329: Fixed DNS name restriction to allow 1-char host labels. 6330: Setting read-only flag for start up components (AR-1621 and AR-193) 6331: Minor formatting 6332: Implementation of a read-only, HTTP-based ContentStore. 6333: AR-1619: A debug message needed changing as the FileFolderService now supports adding children onto system nodes. 6334: Build fix 6335: Fix for AWC-1447 (Office Add-In - Create Collaboration Space) 6337: Fixed AR-1622: WebService requests must be wrapped in retries git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6721 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -208,7 +208,7 @@ public class FileContentReader extends AbstractContentReader
|
||||
// the file must exist
|
||||
if (!file.exists())
|
||||
{
|
||||
throw new IOException("File does not exist");
|
||||
throw new IOException("File does not exist: " + file);
|
||||
}
|
||||
// create the channel
|
||||
ReadableByteChannel channel = null;
|
||||
|
@@ -304,7 +304,7 @@ public class FileContentStore extends AbstractContentStore
|
||||
*/
|
||||
public boolean isWriteSupported()
|
||||
{
|
||||
return true;
|
||||
return !readOnly;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user