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

Shalin Shekhar Mangar resolved SOLR-719.
----------------------------------------

    Resolution: Fixed

Committed revision 688427.

Thanks Henri!

> Persisting solr.xml through SolrJ does not handle relative pathes correctly
> ---------------------------------------------------------------------------
>
>                 Key: SOLR-719
>                 URL: https://issues.apache.org/jira/browse/SOLR-719
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.3
>            Reporter: Henri Biestro
>            Assignee: Shalin Shekhar Mangar
>            Priority: Trivial
>             Fix For: 1.3
>
>         Attachments: SOLR-719.patch
>
>
> It seems the code in CoreContainer.persistFile should begin with:
> {code}
>   /** Persists the cores config file in a user provided file. */
>   public void persistFile(File file) {
>     if (file != null && !file.isAbsolute())
>         file = new File(configFile.getParentFile(), file.getPath());
>     log.info("Persisting cores config to " + (file==null ? configFile : 
> file));
> ...
> {code}
> The issue today resides in calling file.getName() instead of file.getPath()

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to