[ 
https://issues.apache.org/jira/browse/CMIS-1063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16516025#comment-16516025
 ] 

Florian Müller commented on CMIS-1063:
--------------------------------------

As part of the folder creation the {{getObjectInfo()}} method is called with 
the new folder ID. The method {{hasAcl()}} of returned {{ObjectInfo}} object 
must return {{true}} to make OpenCMIS render the ACL link.

> ACL are not set with createFolder (ATOMPUB only)
> ------------------------------------------------
>
>                 Key: CMIS-1063
>                 URL: https://issues.apache.org/jira/browse/CMIS-1063
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-client-bindings
>    Affects Versions: OpenCMIS 1.1.0
>            Reporter: Marie-Luise Kuhlmann
>            Priority: Major
>
> Trying to set ACL via createFolder (only with ATOMPUB) ends up in an exception
>  
> org.apache.chemistry.opencmis.commons.exceptions.CmisNotSupportedException: 
> Operation not supported by the repository for this object!
>                at 
> org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.throwLinkException(AbstractAtomPubService.java:294)
>                at 
> org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.getAclInternal(AbstractAtomPubService.java:1015)
>                at 
> org.apache.chemistry.opencmis.client.bindings.spi.atompub.ObjectServiceImpl.handleAclModifications(ObjectServiceImpl.java:800)
>                at 
> org.apache.chemistry.opencmis.client.bindings.spi.atompub.ObjectServiceImpl.createFolder(ObjectServiceImpl.java:175)
>  
> Suggestion: a problem in 
> org.apache.chemistry.opencmis.client.bindings.spi.atompub.*AbstractAtomPubService.*
> In loadLink is a call to getObjectInternal without getting the acl. If rel 
> *=* 
> [http://docs.oasis-open.org/ns/cmis/link/200908/acl.|https://deref-gmx.net/mail/client/CJZHSWt8PE0/dereferrer/?redirectUrl=http%3A%2F%2Fdocs.oasis-open.org%2Fns%2Fcmis%2Flink%2F200908%2Facl]
>  This parameter can be set to true, getting acl.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to