[ 
https://issues.apache.org/jira/browse/SOLR-753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12628879#action_12628879
 ] 

Shalin Shekhar Mangar commented on SOLR-753:
--------------------------------------------

Should we mark this bug for 1.3 ?

This bug does not let us create or reload a core when the user started with a 
single core deployment (i.e. no solr.xml).

> CoreDescriptor holds wrong instance dir for single core
> -------------------------------------------------------
>
>                 Key: SOLR-753
>                 URL: https://issues.apache.org/jira/browse/SOLR-753
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.3
>            Reporter: Noble Paul
>         Attachments: SOLR-753.patch
>
>
> for single core ,the  CoreDescriptor is instantiated with the following code
> {code:java}
> CoreDescriptor dcore = new CoreDescriptor(cores, "", 
> cfg.getResourceLoader().getInstanceDir());
> {code}
> and the reload in CoreContainer#create(CoreDescriptor dcore) has a snippet as 
> follows
> {code:java}
> File idir = new File(loader.getInstanceDir(), dcore.getInstanceDir());
> {code}
> which will make the idir value something like "solr/solr/" which is wrong

-- 
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