Houston Putman created SOLR-17654:
-------------------------------------

             Summary: DistribFileStore._getRealPath() has issues on Windows
                 Key: SOLR-17654
                 URL: https://issues.apache.org/jira/browse/SOLR-17654
             Project: Solr
          Issue Type: Improvement
            Reporter: Houston Putman


On Windows, many tests that use the DistribFileStore, such as {{TestPackages}}, 
{{TestDistribFileStore}} and {{PackageToolTest}} are failing because of an 
issue in {{DistribFileStore._getRealPath()}}.

This method tries to remove the beginning slashes from the path, and then tries 
to make a new path relative to the file store location. However, in the tests, 
it's failing and showing stuff like "Illegal path \mypkg\v.0.12\jar_a.jar". 
Clearly in the code, the first "\" should have been removed, so this code is 
having an issue with Windows.




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to