Solr
  1. Solr
  2. SOLR-4849

Fix test failure due to not substituting in system properties

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.3, Trunk
    • Fix Version/s: 4.4, Trunk
    • Component/s: None
    • Labels:
      None

      Description

      When we look at old-style solr.xml files, we try to test whether more than one core points to the same data dir. When constructing the paths, we need to substitute in any system-defined properties.

      This happens to work fine on a Mac (and unix in general?) but results in an illegal file name exception on Windows machines.

      1. 4849-testoutput.txt
        33 kB
        Shawn Heisey
      2. SOLR-4849.patch
        4 kB
        Erick Erickson
      3. SOLR-4849.patch
        3 kB
        Erick Erickson
      4. SOLR-4849.patch
        3 kB
        Erick Erickson

        Issue Links

          Activity

          Erick Erickson created issue -
          Erick Erickson made changes -
          Field Original Value New Value
          Affects Version/s 4.3 [ 12324128 ]
          Affects Version/s 5.0 [ 12321664 ]
          Fix Version/s 5.0 [ 12321664 ]
          Fix Version/s 4.4 [ 12324324 ]
          Hoss Man made changes -
          Link This issue duplicates SOLR-4810 [ SOLR-4810 ]
          Erick Erickson made changes -
          Attachment SOLR-4849.patch [ 12584206 ]
          Erick Erickson made changes -
          Attachment SOLR-4849.patch [ 12584288 ]
          Shawn Heisey made changes -
          Attachment 4849-testoutput.txt [ 12584327 ]
          Erick Erickson made changes -
          Attachment SOLR-4849.patch [ 12584340 ]
          Erick Erickson made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Steve Rowe made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Erick Erickson
              Reporter:
              Erick Erickson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development