manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wright (JIRA)" <>
Subject [jira] [Commented] (CONNECTORS-1423) New UI makes it impossible to add certificates to connections with certificate stores
Date Fri, 05 May 2017 21:20:04 GMT


Karl Wright commented on CONNECTORS-1423:

[~kishorekumar] Still blows up.

If you want to try this it should be pretty easy to get hold of any X.509 cert and just try
uploading it into the keystore following the instructions.  In fact, I think *any* file will
do to test the uploading.  (You'll get an error, but it will be different).

> New UI makes it impossible to add certificates to connections with certificate stores
> -------------------------------------------------------------------------------------
>                 Key: CONNECTORS-1423
>                 URL:
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: LiveLink connector, SharePoint connector, Web connector
>    Affects Versions: ManifoldCF 2.7
>            Reporter: Karl Wright
>            Assignee: Kishore Kumar
>            Priority: Blocker
> (1) Create a Sharepoint repository connection
> (2) Click on the Server tab
> (3) Try to add a certificate by finding a valid cert and clicking the "Add" button
> A 500 error is returned.  The exception trace looks like this:
> {code}
> Caused by: java.lang.NullPointerException
>         at<init>(
>         at org.apache.manifoldcf.crawler.connectors.sharepoint.SharePointReposit
> ory.processConfigurationPost(
>         at org.apache.manifoldcf.core.interfaces.ConnectorFactory.processThisCon
> figurationPost(
>         at org.apache.manifoldcf.crawler.interfaces.RepositoryConnectorFactory.p
> rocessConfigurationPost(
>         at org.apache.jsp.execute_jsp._jspService(
>         at org.apache.jasper.runtime.HttpJspBase.service(
>         at javax.servlet.http.HttpServlet.service(
>         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
> .java:388)
> {code}
> It looks like the rendering flow is no longer the same, and therefore the certificate
store is not loaded into the local variable that the processConfigurationPost() method is
expecting to find it in.
> The connector code can be rewritten for the connectors where this happens but frankly
this will cause many of the connector UI's out there to break badly.  Is there another way
to address this?

This message was sent by Atlassian JIRA

View raw message