[
https://issues.apache.org/jira/browse/CONNECTORS-485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13402009#comment-13402009
]
Karl Wright commented on CONNECTORS-485:
----------------------------------------
The tests are failing because ManifoldCFSearchComponent is not initializing
correctly. Specifically, this code:
{code}
@Override
public void init(NamedList args)
{
super.init(args);
authorityBaseURL = (String)args.get("AuthorityServiceBaseURL");
if (authorityBaseURL == null)
{
System.out.println("USING DEFAULT BASE URL!!");
authorityBaseURL = "http://localhost:8345/mcf-authority-service";
}
...
{code}
... is printing:
{code}
[junit4] 1> USING DEFAULT BASE URL!!
[junit4] 1>
{code}
... even though the search component in the test is declared like this (and the
solrconfig.xml has not changed the last time this solr-4.x plugin was worked
on):
{code}
<!-- test MCF Security Filter settings -->
<searchComponent name="mcf-param"
class="org.apache.solr.mcf.ManifoldCFSearchComponent" >
<str name="AuthorityServiceBaseURL">http://localhost:8345/mcf-as</str>
<int name="SocketTimeOut">3000</int>
<str name="AllowAttributePrefix">aap-</str>
<str name="DenyAttributePrefix">dap-</str>
</searchComponent>
{code}
> Update Solr plugins to latest Solr code
> ---------------------------------------
>
> Key: CONNECTORS-485
> URL: https://issues.apache.org/jira/browse/CONNECTORS-485
> Project: ManifoldCF
> Issue Type: Task
> Components: Solr-3.x-component, Solr-4.x-component
> Affects Versions: ManifoldCF 0.6
> Reporter: Karl Wright
> Assignee: Karl Wright
> Fix For: ManifoldCF 0.6
>
>
> Solr has had a couple of releases since the plugins were released. Time to
> update them.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira