mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
MNT-12194: Unhelpful error message in AlfrescoCMISServiceImpl.java
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@132405 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1548,7 +1548,7 @@ public class AlfrescoCmisServiceImpl extends AbstractCmisService implements Alfr
|
||||
|
||||
if (!info.isVariant(CMISObjectVariant.CURRENT_VERSION) && !info.isVariant(CMISObjectVariant.PWC))
|
||||
{
|
||||
throw new CmisStreamNotSupportedException("Content can only be set ondocuments!");
|
||||
throw new CmisStreamNotSupportedException("Content can only be set on private working copies or current versions.");
|
||||
}
|
||||
|
||||
final NodeRef nodeRef = info.getNodeRef();
|
||||
|
Reference in New Issue
Block a user