TPS UI: Failed activity for adding token not captured under activity tab
Steps to Reproduce:
1. Try to add an existing token. 2. Give partial information like userid and type.click "save" 3. Error 500 will occour. "HTTP Error 500 add token:LDAP operation failure - cn=test100,ou=Tokens,o=pkitomcat100-TPS netscape.ldap.LDAPException: error result (68) 4. Check activity tab.This is never registered .
Actual results:
No activity logs under activity tab
Expected results:
Failure action should be reported
Per CS/DS Meeting of 10/12/2015 - 10.3
this is a backend issue not the UI. UI only displays what is put in the activity log. Modified the summary to reflect this.
LDAP error 68 means that you are trying to add an entry, but it already exists. You may need to check if the entry exists before you attempt the add, or just catch the error 68 and act accordingly.
Fixed in master:
Add failures are now properly recorded in the activity log. The LDAP error 68 is now translated into ConflictingOperationException.
Metadata Update from @gkapoor: - Issue assigned to edewata - Issue set to the milestone: 10.3.0
Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.
This issue has been cloned to GitHub and is available here: https://github.com/dogtagpki/pki/issues/2205
If you want to receive further updates on the issue, please navigate to the GitHub issue and click on Subscribe button.
Subscribe
Thank you for understanding, and we apologize for any inconvenience.
Login to comment on this ticket.