Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-5838

Relative SolrHome Path Bug At AbstractFullDistribZkTestBase

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.6.1, 4.7
    • 4.8, 6.0
    • None
    • None

    Description

      getRelativeSolrHomePath method at AbstractFullDistribZkTestBase has a control like that:

      if (base.startsWith("."));
      base.replaceFirst("\\.", new File(".").getName());
      

      if statement does nothing and result of replaceFirst is ignored.

      Attachments

        1. SOLR-5838.patch
          1 kB
          Furkan Kamaci

        Activity

          People

            shalin Shalin Shekhar Mangar
            kamaci Furkan Kamaci
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: