chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Zavizionov (JIRA)" <j...@apache.org>
Subject [jira] Created: (CMIS-192) Wrong assertNotNull ALLOWABLE_ACTIONS on created folder entry without includeAllowableActions
Date Fri, 16 Apr 2010 09:47:26 GMT
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


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.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message