Marie-Luise Kuhlmann created CMIS-1063:
------------------------------------------
Summary: 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
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)