[
https://issues.apache.org/jira/browse/SOLR-719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shalin Shekhar Mangar updated SOLR-719:
---------------------------------------
Fix Version/s: (was: 1.4)
1.3
Assignee: Shalin Shekhar Mangar
> 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
>
>
> 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.