directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FC-12) Delete descendant role error
Date Tue, 28 Oct 2014 16:27:33 GMT
Emmanuel Lecharny created FC-12:
-----------------------------------

             Summary: Delete descendant role error
                 Key: FC-12
                 URL: https://issues.apache.org/jira/browse/FC-12
             Project: FORTRESS-CORE
          Issue Type: Bug
         Environment: ubuntu 32 - symas-openldap-silver.32_2.4.35-2_i386.deb
            Reporter: Emmanuel Lecharny


junit 2013-05-29 17:51:18,449 (INFO ) DEL-RLS-TR6-DESC
junit 2013-05-29 17:51:18,480 (ERROR) us.jts.fortress.rbac.AdminMgrImplTest.delRoleDescendant
caught SecurityException rc=5004, msg=us.jts.fortress.rbac.RoleDAO.remove role name=oamT6C4B2A1
LDAPException=32 msg=no such object
junit us.jts.fortress.RemoveException: us.jts.fortress.rbac.RoleDAO.remove role name=oamT6C4B2A1
LDAPException=32 msg=no such object
junit at us.jts.fortress.rbac.RoleDAO.remove(RoleDAO.java:316)
junit at us.jts.fortress.rbac.RoleP.delete(RoleP.java:246)
junit at us.jts.fortress.rbac.AdminMgrImpl.deleteRole(AdminMgrImpl.java:434)
junit at us.jts.fortress.rbac.AdminMgrImplTest.delRoleDescendant(AdminMgrImplTest.java:670)
junit at us.jts.fortress.rbac.AdminMgrImplTest.testDelRoleDescendant(AdminMgrImplTest.java:603)
junit at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
junit at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
junit at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
junit at java.lang.reflect.Method.invoke(Method.java:601)
junit at junit.framework.TestCase.runTest(TestCase.java:168)
junit at junit.framework.TestCase.runBare(TestCase.java:134)
junit at junit.framework.TestResult$1.protect(TestResult.java:110)
junit at junit.framework.TestResult.runProtected(TestResult.java:128)
junit at junit.framework.TestResult.run(TestResult.java:113)
junit at junit.framework.TestCase.run(TestCase.java:124)
junit at junit.framework.TestSuite.runTest(TestSuite.java:243)
junit at junit.framework.TestSuite.run(TestSuite.java:238)
junit at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)
junit at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
junit at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)
junit Caused by: LDAPException(resultCode=32 (no such object), errorMessage='no such object',
matchedDN='ou=Roles,ou=RBAC,dc=jts,dc=us')
junit at com.unboundid.ldap.sdk.migrate.ldapjdk.LDAPConnection.modify(LDAPConnection.java:1137)
junit at com.unboundid.ldap.sdk.migrate.ldapjdk.LDAPConnection.modify(LDAPConnection.java:1154)
junit at us.jts.fortress.ldap.DataProvider.modify(DataProvider.java:188)
junit at us.jts.fortress.ldap.DataProvider.delete(DataProvider.java:235)
junit at us.jts.fortress.rbac.RoleDAO.remove(RoleDAO.java:311)
junit ... 19 more
junit 2013-05-29 17:51:18,483 (INFO ) DEL-RLS-TR6-ASC
junit 2013-05-29 17:51:18,487 (ERROR) us.jts.fortress.rbac.AdminMgrImplTest.delRoleAscendant
caught SecurityException rc=5060, msg=us.jts.fortress.rbac.HierUtil.validateRelationship child
oamT7D2C1B1A1 does not have parent oamT7C2B1A1
junit us.jts.fortress.ValidationException: us.jts.fortress.rbac.HierUtil.validateRelationship
child oamT7D2C1B1A1 does not have parent oamT7C2B1A1
junit at us.jts.fortress.rbac.HierUtil.validateRelationship(HierUtil.java:127)
junit at us.jts.fortress.rbac.RoleUtil.validateRelationship(RoleUtil.java:245)
junit at us.jts.fortress.rbac.AdminMgrImpl.deleteInheritance(AdminMgrImpl.java:1046)
junit at us.jts.fortress.rbac.AdminMgrImplTest.delRoleAscendant(AdminMgrImplTest.java:764)
junit at us.jts.fortress.rbac.AdminMgrImplTest.testDelRoleAscendant(AdminMgrImplTest.java:741)
junit at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
junit at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
junit at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
junit at java.lang.reflect.Method.invoke(Method.java:601)
junit at junit.framework.TestCase.runTest(TestCase.java:168)
junit at junit.framework.TestCase.runBare(TestCase.java:134)
junit at junit.framework.TestResult$1.protect(TestResult.java:110)
junit at junit.framework.TestResult.runProtected(TestResult.java:128)
junit at junit.framework.TestResult.run(TestResult.java:113)
junit at junit.framework.TestCase.run(TestCase.java:124)
junit at junit.framework.TestSuite.runTest(TestSuite.java:243)
junit at junit.framework.TestSuite.run(TestSuite.java:238)
junit at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)
junit at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
junit at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)
junit 2013-05-29 17:51:18,487 (INFO ) DEL-RLS TR1
junit 2013-05-29 17:51:18,502 (INFO ) DEL-RLS TR2
junit 2013-05-29 17:51:18,516 (INFO ) DEL-RLS TR3
junit 2013-05-29 17:51:18,771 (INFO ) DEL-RLS TR4
junit 2013-05-29 17:51:18,799 (INFO ) DEL-RLS ROLES_TR5_HIER
junit 2013-05-29 17:51:18,818 (INFO ) DEL-RLS ROLES_TR5B
junit 2013-05-29 17:51:18,852 (INFO ) DEL-RLS ROLES_TR8_SSD
junit 2013-05-29 17:51:18,919 (INFO ) DEL-RLS ROLES_TR9_SSD
^Csmckinn@smckinnlt-lr02:~/GIT/fortressDev/openldap-fortress-core$ sudo ./build.sh init-slapd
Buildfile: /home/smckinn/GIT/fortressDev/openldap-fortress-core/build.xml



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message