chemistry-dev mailing list archives

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


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:
>             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(
>                at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.getAclInternal(
>                at org.apache.chemistry.opencmis.client.bindings.spi.atompub.ObjectServiceImpl.handleAclModifications(
>                at org.apache.chemistry.opencmis.client.bindings.spi.atompub.ObjectServiceImpl.createFolder(
> 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 *=* [|]
This parameter can be set to true, getting acl.

This message was sent by Atlassian JIRA

View raw message