Resolve ALF-5130, ALF-5144, ALF-5148

- ALF-5130 NPE from Web Services deleteTree()		
- ALF-5144 Create document via CMIS web services throws exception if mime type is not specified
- ALF-5148 ApplyACL does not accept repositorydetermined ACLPropagation value

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22990 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
David Caruana
2010-10-08 13:38:06 +00:00
parent 52dd3bcfc7
commit 8ca0064682

View File

@@ -119,10 +119,6 @@ public class DMObjectServicePort extends DMAbstractServicePort implements Object
{
writer.setMimetype(mimeType);
}
else
{
throw ExceptionUtil.createCmisException("Content Stream Mime Type was not specified", EnumServiceException.INVALID_ARGUMENT);
}
InputStream inputstream = null;
try
{
@@ -410,7 +406,7 @@ public class DMObjectServicePort extends DMAbstractServicePort implements Object
List<String> failedToDelete;
try
{
failedToDelete = cmisService.deleteTree(folderId, continueOnFailure, unfileObject != EnumUnfileObject.DELETE, allVersions == null || allVersions);
failedToDelete = cmisService.deleteTree(folderId, continueOnFailure == null ? false : continueOnFailure, unfileObject != EnumUnfileObject.DELETE, allVersions == null || allVersions);
}
catch (CMISServiceException e)
{