Merge branch 'develop' into feature/REPO-2626_HB2.0

This commit is contained in:
Ancuta Morarasu
2017-09-14 10:41:43 +03:00
9 changed files with 116 additions and 53 deletions

View File

@@ -1283,11 +1283,6 @@ public class AlfrescoCmisServiceImpl extends AbstractCmisService implements Alfr
throw new CmisConstraintException("This document type does requires content!");
}
if (docType.isVersionable() && (versioningState == VersioningState.NONE))
{
throw new CmisConstraintException("This document type is versionable!");
}
if (!docType.isVersionable() && (versioningState != VersioningState.NONE))
{
throw new CmisConstraintException("This document type is not versionable!");