Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
AbstractSimpleReadWriteTests (line 116):
if (supportsManageACLs()) {
AccessControlEntry ace = getObjectFactory().createAccessControlEntry(getUsername(),
Collections.singletonList("cmis:read"));
AccessControlList acl = getObjectFactory().createAccessControlList(
Collections.singletonList(ace));
AccessControlList newAcl = getProvider().getAclService().applyAcl(getTestRepositoryId(),
docId, acl, null, getAclPropagation(), null);
assertNotNull(newAcl);
This test case does not provide a removeAces value to applyAcl. Subsequently, in AbstractAtomPubService (line 508) the following check is made:
if ((removeAces == null) || (removeAces.getAces() == null))
{ throw new IllegalArgumentException("remove ACEs must not be null!"); }The above assertion always seem to fail for SimpleReadWriteTests.testCreateDocument.