Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to remove client #439

Closed
zamilskhan opened this issue Jan 11, 2017 · 1 comment
Closed

Unable to remove client #439

zamilskhan opened this issue Jan 11, 2017 · 1 comment
Assignees
Labels
Milestone

Comments

@zamilskhan
Copy link

zamilskhan commented Jan 11, 2017

OS: CentOS 6.6 (Final)
Package: gluu-server-3.0.0.x86_64 6-BETA2.centos6

The added OpenID Clients cannot be deleted showing the message Cannot remove Client with the following in the oxTrust.log file.

2017-01-11 08:22:56,381 ERROR [qtp425918570-18] [org.gluu.oxtrust.action.UpdateClientAction] (UpdateClientAction.java:261) - Failed to remove client @!6571.E442.3A02.037
8!0001!05A7.AE77!0008!CA79.B496.3659.9E6E
org.gluu.site.ldap.persistence.exception.EntryPersistenceException: Failed to remove entry: inum=@!6571.E442.3A02.0378!0001!05A7.AE77!0008!CA79.B496.3659.9E6E,ou=clients
,o=@!6571.E442.3A02.0378!0001!05A7.AE77,o=gluu
        at org.gluu.site.ldap.persistence.LdapEntryManager.removeWithSubtree(LdapEntryManager.java:224) ~[oxLdap-3.0.0-SNAPSHOT.jar:?]
        at org.gluu.oxtrust.ldap.service.ClientService.removeClient(ClientService.java:78) ~[classes/:?]

 at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112]
Caused by: org.gluu.site.ldap.exception.ConnectionException: Connection exception (Failed to delete entry: subordinate objects must be deleted first)

The oxauth.log file shows the following error.

ERROR [qtp425918570-15] [org.gluu.oxtrust.action.UpdateClientAction] (UpdateClientAction.java:261) - Failed to remove client @!6571.E442.3A02.037
8!0001!05A7.AE77!0008!CA79.B496.3659.9E6E
org.gluu.site.ldap.persistence.exception.EntryPersistenceException: Failed to remove entry: inum=@!6571.E442.3A02.0378!0001!05A7.AE77!0008!CA79.B496.3659.9E6E,ou=clients
,o=@!6571.E442.3A02.0378!0001!05A7.AE77,o=gluu
        at org.gluu.site.ldap.persistence.LdapEntryManager.removeWithSubtree(LdapEntryManager.java:224) ~[oxLdap-3.0.0-SNAPSHOT.jar:?]

at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112]
Caused by: org.gluu.site.ldap.exception.ConnectionException: Connection exception (Failed to delete entry: subordinate objects must be deleted first)
        at org.gluu.site.ldap.OperationsFacade.deleteWithSubtree(OperationsFacade.java:596) ~[oxLdap-3.0.0-SNAPSHOT.jar:?]
@yurem yurem added this to the CE 3.0.0 milestone Jan 11, 2017
@yurem yurem self-assigned this Jan 11, 2017
@yurem yurem added the bug label Jan 11, 2017
@yurem
Copy link
Contributor

yurem commented Jan 11, 2017

Fixed: GluuFederation/oxCore@4977abe
New build should contains this fix

@yurem yurem closed this as completed Jan 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants