Merging /BRANCHES/DEV/BELARUS/HEAD-2010_03_09/ to HEAD:

19193: CMIS WS transaction atomicity problem was resolved.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19196 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
David Caruana
2010-03-10 16:53:35 +00:00
parent f26115a739
commit 1b8a6858c0

View File

@@ -890,7 +890,7 @@ public class CMISServicesImpl implements CMISServices, ApplicationContextAware,
|| updatability == CMISUpdatabilityEnum.READ_AND_WRITE_WHEN_CHECKED_OUT || updatability == CMISUpdatabilityEnum.READ_AND_WRITE_WHEN_CHECKED_OUT
&& !nodeService.hasAspect(nodeRef, ContentModel.ASPECT_WORKING_COPY)) && !nodeService.hasAspect(nodeRef, ContentModel.ASPECT_WORKING_COPY))
{ {
throw new CMISConstraintException("Unable to update read-only property" + propertyName); throw new CMISConstraintException("Unable to update read-only property " + propertyName);
} }
if (propDef.isRequired() && value == null) if (propDef.isRequired() && value == null)