You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jeff Miller (JIRA)" <ji...@apache.org> on 2018/05/29 23:48:02 UTC

[jira] [Created] (SOLR-12421) CoreDescriptor constructor allows a core descriptor name to be passed but can overwrite it with the old name

Jeff Miller created SOLR-12421:
----------------------------------

             Summary: CoreDescriptor constructor allows a core descriptor name to be passed but can overwrite it with the old name
                 Key: SOLR-12421
                 URL: https://issues.apache.org/jira/browse/SOLR-12421
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
    Affects Versions: 7.1
            Reporter: Jeff Miller


Rather trivial issue, when we create a new CoreDescriptor object and pass in the name parameter, it gets written to originalCoreProperties Properties object

Another parameter that can be passed in is coreProps which can then override the descriptor named passed in as the first parameter and this issue will show up when CorePropertiesLocator then writes our the core.properties file, the properties will have the old name and not the new one.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org