mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Merge branch 'develop' into feature/REPO-2626_HB2.0
This commit is contained in:
@@ -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!");
|
||||
|
Reference in New Issue
Block a user