You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Florian Müller (JIRA)" <ji...@apache.org> on 2012/11/08 18:10:12 UTC

[jira] [Resolved] (CMIS-600) ACLSmokeTest fails if repository's AclCapability is CapabilityAcl.MANAGE and AclPropagation is not OBJECTONLY

     [ https://issues.apache.org/jira/browse/CMIS-600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Florian Müller resolved CMIS-600.
---------------------------------

       Resolution: Fixed
    Fix Version/s: OpenCMIS 0.9.0
         Assignee: Florian Müller

The test now checks if ACLProgation != REPOSITORYDETERMINED.
All other states include OBJECTONLY.
                
> ACLSmokeTest fails if repository's AclCapability is CapabilityAcl.MANAGE and AclPropagation is not OBJECTONLY
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: CMIS-600
>                 URL: https://issues.apache.org/jira/browse/CMIS-600
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-tck
>    Affects Versions: OpenCMIS 0.8.0
>            Reporter: Cedric Moitrier
>            Assignee: Florian Müller
>            Priority: Minor
>             Fix For: OpenCMIS 0.9.0
>
>
> The test executes Session.setAcl(...) which does call AclService.applyAcl(...) with aclPropagation set to OBJECTONLY.
> CMIS specification indicates that AclService.applyAcl(...) must throw a constraint exception if given aclPropagation does not match the value returned via getACLCapabilities (2.2.10.2.3).
> Thus the test should check the supported ACLPropagation before calling setAcl(...) and if ACLProgation is not OBJECTONLY then either:
> - not call setAcl(...)
> - call setAcl(...) but expected a CmisConstraintException to be thrown

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira