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

Reply via email to