You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Houston Putman (Jira)" <ji...@apache.org> on 2025/02/10 22:55:00 UTC
[jira] [Resolved] (SOLR-17654) DistribFileStore._getRealPath() has issues on Windows
[ https://issues.apache.org/jira/browse/SOLR-17654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Houston Putman resolved SOLR-17654.
-----------------------------------
Assignee: Houston Putman
Resolution: Fixed
> 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
> Assignee: Houston Putman
> Priority: Major
> Labels: pull-request-available
> Time Spent: 50m
> Remaining Estimate: 0h
>
> 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: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org