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

Error Adding group in oxtrust #448

Closed
sahilIT2020 opened this issue Jan 20, 2017 · 2 comments
Closed

Error Adding group in oxtrust #448

sahilIT2020 opened this issue Jan 20, 2017 · 2 comments
Assignees
Labels
exclude from release notes issues found during QA that should be excluded from release notes
Milestone

Comments

@sahilIT2020
Copy link
Contributor

Steps to reproduce:

  1. Login to oxtrust
  2. Click on Users > Manage Groups > Add Group
  3. Provide required information, click on Add Member and select user
  4. Click Add

Expected Result: We should get "Group creation successful" message
Actual Result: Error message "Failed to Add group"

PS: We get error message but group is created successfully though.

Logs
2017-01-20 06:05:46,316 DEBUG [qtp425918570-15] [org.gluu.oxtrust.action.UpdateGroupAction] (UpdateGroupAction.java:322) - Old members: [DisplayNameEntry [displayName=Test, inum=@!495F.F2BE.310E.8C33!0001!756E.14E2!0000!2B7C.363A.9BD5.7B07, toString()=Entry [dn=inum=@!495F.F2BE.310E.8C33!0001!756E.14E2!0000!2B7C.363A.9BD5.7B07,ou=people,o=@!495F.F2BE.310E.8C33!0001!756E.14E2,o=gluu]]]
2017-01-20 06:05:46,316 DEBUG [qtp425918570-15] [org.gluu.oxtrust.action.UpdateGroupAction] (UpdateGroupAction.java:323) - New members: [DisplayNameEntry [displayName=Test, inum=@!495F.F2BE.310E.8C33!0001!756E.14E2!0000!2B7C.363A.9BD5.7B07, toString()=Entry [dn=inum=@!495F.F2BE.310E.8C33!0001!756E.14E2!0000!2B7C.363A.9BD5.7B07,ou=people,o=@!495F.F2BE.310E.8C33!0001!756E.14E2,o=gluu]]]
2017-01-20 06:05:46,317 DEBUG [qtp425918570-15] [org.gluu.oxtrust.action.UpdateGroupAction] (UpdateGroupAction.java:403) - Updating group inum=@!495F.F2BE.310E.8C33!0001!756E.14E2!0003!ED9D.9AE5,ou=groups,o=@!495F.F2BE.310E.8C33!0001!756E.14E2,o=gluu to person Test memberOf
2017-01-20 06:05:46,322 INFO [qtp425918570-15] [org.gluu.oxtrust.action.UpdateGroupAction] (UpdateGroupAction.java:173) - error updating group
org.gluu.site.ldap.persistence.exception.EntryPersistenceException: Failed to update entry: inum=@!495F.F2BE.310E.8C33!0001!756E.14E2!0000!2B7C.363A.9BD5.7B07,ou=people,o=@!495F.F2BE.310E.8C33!0001!756E.14E2,o=gluu
at org.gluu.site.ldap.persistence.LdapEntryManager.merge(LdapEntryManager.java:182) ~[oxLdap-3.0.0-SNAPSHOT.jar:?]
at org.gluu.site.ldap.persistence.AbstractEntryManager.merge(AbstractEntryManager.java:268) ~[oxLdap-3.0.0-SNAPSHOT.jar:?]
at org.gluu.site.ldap.persistence.AbstractEntryManager.merge(AbstractEntryManager.java:283) ~[oxLdap-3.0.0-SNAPSHOT.jar:?]
at org.gluu.oxtrust.ldap.service.PersonService.updatePerson(PersonService.java:116) ~[classes/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_112]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_112]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_112]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_112]
at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) ~[jboss-seam-2.3.1.Final.jar:2.3.1.Final]
at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32) ~[jboss-seam-2.3.1.Final.jar:2.3.1.Final]
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56) ~[jboss-seam-2.3.1.Final.jar:2.3.1.Final]
at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28) ~[jboss-seam-2.3.1.Final.jar:2.3.1.Final]

**Gluu Version: ** gluu-server-3.0.0 (2-BETA3~trusty+Ub14.04)
Platform: Ubuntu 14.04

@sahilIT2020 sahilIT2020 added this to the CE 3.0.0 QA milestone Jan 20, 2017
@yurem yurem modified the milestones: CE 3.0.0, CE 3.0.0 QA Jan 20, 2017
@yurem yurem added the exclude from release notes issues found during QA that should be excluded from release notes label Jan 23, 2017
@yurem yurem modified the milestones: CE 3.0.0, CE 3.0.0 QA Jan 23, 2017
@shekhar16
Copy link
Contributor

image

@shekhar16
Copy link
Contributor

shekhar16 commented Jan 26, 2017

I tested this issue in latest version i.e gluu-server-3.0.0_3-BETA4-trusty+Ub14.04_amd64.deb
and found it is working fine.
I m closing this issue ,please test it again and let me know if you found any issues in Add Group functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exclude from release notes issues found during QA that should be excluded from release notes
Projects
None yet
Development

No branches or pull requests

3 participants