You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2008/08/23 22:53:44 UTC

[jira] Resolved: (SOLR-720) Persistence does not write the expected XML

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

Shalin Shekhar Mangar resolved SOLR-720.
----------------------------------------

    Resolution: Fixed

Committed revision 688411.

Thanks Henri !

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