mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-21 18:09:20 +00:00
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:
@@ -119,10 +119,6 @@ public class DMObjectServicePort extends DMAbstractServicePort implements Object
|
|||||||
{
|
{
|
||||||
writer.setMimetype(mimeType);
|
writer.setMimetype(mimeType);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
throw ExceptionUtil.createCmisException("Content Stream Mime Type was not specified", EnumServiceException.INVALID_ARGUMENT);
|
|
||||||
}
|
|
||||||
InputStream inputstream = null;
|
InputStream inputstream = null;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@@ -410,7 +406,7 @@ public class DMObjectServicePort extends DMAbstractServicePort implements Object
|
|||||||
List<String> failedToDelete;
|
List<String> failedToDelete;
|
||||||
try
|
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)
|
catch (CMISServiceException e)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user