Uploaded image for project: 'ACE'
  1. ACE
  2. ACE-351

Corrupt URLs in shop repository on Windows containing \ instead of /

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8.1-incubator
    • 1.0.0
    • Repository
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            wilsib Wilfried Sibla
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment