[
https://issues.apache.org/jira/browse/CMIS-192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Caruana updated CMIS-192:
-------------------------------
Assignee: David Caruana
Fix Version/s: opencmis-0.1.0-incubating
> Wrong assertNotNull ALLOWABLE_ACTIONS on created folder entry without
> includeAllowableActions
> ---------------------------------------------------------------------------------------------
>
> Key: CMIS-192
> URL: https://issues.apache.org/jira/browse/CMIS-192
> Project: Chemistry
> Issue Type: Bug
> Components: tck
> Environment: AccessControlListTest.testManageAccessControlList()
> Reporter: Alexey Zavizionov
> Assignee: David Caruana
> Fix For: opencmis-0.1.0-incubating
>
>
> You did a create folder within CMISTestFixture.getTestCaseFolder
> without includeAllowableActions param.
> SPEC says:
> 3212 • Boolean includeAllowableActions: If TRUE, then the Repository MUST
> return the
> available actions for each object in the result set. Defaults to
> FALSE.
> 3213
> then store it to the "entry" field at:
> CMISTestFixture.createTree(Entry, Entry, int, int, String, String) line: 103
> CMISTestFixture.createTestTree(String, int, int, String, String) line: 94
> AccessControlListTest.testManageAccessControlList() line: 131
> then use it at:
> ManageAccessControlListVisitor.visit(EntryTree) line: 68
> EntryTree.walkEntry(EntryTree, EntryTree$TreeVisitor) line: 126
> EntryTree.walkTree(EntryTree$TreeVisitor) line: 118
> AccessControlListTest.testManageAccessControlList() line: 132
> // Check whether apply ACL is an allowable action
> CMISAllowableActions objectAllowableActions =
> childObject.getExtension(CMISConstants.ALLOWABLE_ACTIONS);
> Assert.assertNotNull(objectAllowableActions); // <=== here is should
> be null
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.