chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller (JIRA) <j...@apache.org>
Subject [jira] [Commented] (CMIS-1063) ACL are not set with createFolder (ATOMPUB only)
Date Fri, 08 Jun 2018 10:57:00 GMT

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

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

This is not an OpenCMIS issue. There are two cases here where this exception is thrown.
 # The application wants to change the ACL of an object that doesn't support that, or the
user is not allowed to get or change the ACL. The application should check the allowable actions
first to avoid this exception.
 # The server does not provide the ACL link although it has to for this object. This would
be a server bug.

> 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)

Mime
View raw message