#214 Missing error description when adding duplicate user
Closed: Fixed None Opened 11 years ago by edewata.

When adding a duplicate user the server will return an error message without describing the cause of the problem:

% pki user-add testuser --fullName "Test User"
CMSException: Failed to add user

If an error happens during add the UsrGrpAdminServlet and UserResourceService will return a message CMS_USRGRP_USER_ADD_FAILED. This message doesn't contain a space to put the error description. A similar message CMS_USRGRP_USER_ADD_FAILED_1 doesn't contain an appropriate message for general errors.

CMS_USRGRP_USER_ADD_FAILED=Failed to add user
CMS_USRGRP_USER_ADD_FAILED_1=Failed to add user. Missing \"{0}\"

patch has been submitted. Just pending review.

master: 98037df00124e1ab81b6ef3be9ba2133f723a95e

Metadata Update from @edewata:
- Issue assigned to kaskahn
- Issue set to the milestone: 10.0.1

7 years ago

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/785

If you want to receive further updates on the issue, please navigate to the
GitHub issue and click on Subscribe button.

Thank you for understanding, and we apologize for any inconvenience.

Login to comment on this ticket.

Metadata