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 "Henri Biestro (JIRA)" <ji...@apache.org> on 2008/08/23 22:43:44 UTC

[jira] Updated: (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 ]

Henri Biestro updated SOLR-720:
-------------------------------

    Affects Version/s:     (was: 1.4)
                       1.3

> 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
>            Priority: Critical
>             Fix For: 1.4
>
>
> 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.