mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged CMIS063 to HEAD
16809: CMIS 0.7 upgrade - checkpoint. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@17241 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -168,7 +168,8 @@ public class ContentSet extends AbstractWebScript
|
||||
ContentReader reader = contentService.getReader(nodeRef, propertyQName);
|
||||
if (reader != null)
|
||||
{
|
||||
throw new WebScriptException(HttpServletResponse.SC_INTERNAL_SERVER_ERROR, "Content already exists.");
|
||||
// error code as per CMIS specification
|
||||
throw new WebScriptException(HttpServletResponse.SC_CONFLICT, "Content already exists.");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user