ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Offermans (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ACE-351) Corrupt URLs in shop repository on Windows containing \ instead of /
Date Fri, 17 May 2013 10:25:16 GMT

     [ https://issues.apache.org/jira/browse/ACE-351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Marcel Offermans resolved ACE-351.
----------------------------------

    Resolution: Fixed

Applied the patch.
                
> Corrupt URLs in shop repository on Windows containing \ instead of /
> --------------------------------------------------------------------
>
>                 Key: ACE-351
>                 URL: https://issues.apache.org/jira/browse/ACE-351
>             Project: ACE
>          Issue Type: Bug
>          Components: Repository
>    Affects Versions: 0.8.1-incubator
>            Reporter: Wilfried Sibla
>            Assignee: Marcel Offermans
>
> When uploading artifacts to the ACE server running on a windows OS, URLs added to the
repository files contain windows file paths including the \ instead of /.
> Replacing line 116 in class BundleFileStore (trunk)
> String filePath = storeLocation.getAbsolutePath().substring(getWorkingDir().getAbsolutePath().length());
> with:
> String filePath = storeLocation.toURI().toString().substring(getWorkingDir().toURI().toString().length());
> solves this problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message