[ 
https://issues.apache.org/jira/browse/SOLR-5838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Furkan KAMACI updated SOLR-5838:
--------------------------------

    Attachment: SOLR-5838.patch

I've applied a patch. Also changed that:

{code}
p.append(".." + File.separator);
{code}

to this:

{code}
p.append("..").append(File.separator);
{code}

> Relative SolrHome Path Bug At AbstractFullDistribZkTestBase 
> ------------------------------------------------------------
>
>                 Key: SOLR-5838
>                 URL: https://issues.apache.org/jira/browse/SOLR-5838
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.6.1, 4.7
>            Reporter: Furkan KAMACI
>             Fix For: 4.8
>
>         Attachments: SOLR-5838.patch
>
>
> getRelativeSolrHomePath method at AbstractFullDistribZkTestBase has a control 
> like that:
> {code}
> if (base.startsWith("."));
> base.replaceFirst("\\.", new File(".").getName());
> {code}
> if statement does nothing and result of replaceFirst is ignored.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to