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

Shalin Shekhar Mangar updated SOLR-720:
---------------------------------------

    Attachment: SOLR-720.patch

Patch to fix this.

> Persistence does not write the expected XML
> -------------------------------------------
>
>                 Key: SOLR-720
>                 URL: https://issues.apache.org/jira/browse/SOLR-720
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.3
>            Reporter: Henri Biestro
>            Assignee: Shalin Shekhar Mangar
>            Priority: Critical
>             Fix For: 1.3
>
>         Attachments: SOLR-720.patch
>
>
> CoreContainer.persist() writes the core container properties at the 'wrong' 
> place in the XML.
> A Solr webapp with a solr.xml stating persistent='true' may fail to restart 
> if the file is written.
> They should be written under /solr - not /solr/cores aka before (not after):
> {code}
>   /** Write the cores configuration through a writer.*/
>   void persist(Writer writer) throws IOException {
> ...
>     writer.write("<cores adminPath='");
> ...
> {code}

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