Adding the same certificate twice as trusted in the user-ui results in an
exception being displayed
---------------------------------------------------------------------------------------------------
Key: IDENTITY-185
URL: https://wso2.org/jira/browse/IDENTITY-185
Project: WSO2 Identity Solution
Issue Type: Bug
Components: identity-provider
Affects Versions: 1.0
Reporter: Dumindu Pallewela
Assignee: Dimuthu Leelarathne
Priority: Minor
Fix For: 1.1
$subject
Instead of throwing an exception, we should handle this and display an error
message. the exception goes as follows:
======================================================
type Exception report
message
description The server encountered an internal error () that prevented it from
fulfilling this request.
exception
javax.servlet.ServletException: Error in database access
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:515)
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419)
org.wso2.solutions.identity.relyingparty.servletfilter.RelyingPartyFilter.doFilter(RelyingPartyFilter.java:112)
root cause
org.apache.axis2.AxisFault: Error in database access
org.wso2.solutions.identity.admin.RelyingPartyAdmin.create(RelyingPartyAdmin.java:65)
org.wso2.solutions.identity.user.ui.action.UploadRelyingPartyCertificateAction.execute(UploadRelyingPartyCertificateAction.java:73)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Identity-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/identity-dev