Uploaded image for project: 'Archiva (Retired)'
  1. Archiva (Retired)
  2. MRM-1757

Unable to download uploaded artifact from repository

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4-M3
    • 1.4-M4
    • None
    • None

    Description

      Reported from the dev list by Piotr Szwed:

      After uploading an artifact to the newly created repository, I am unable
      to download it. The problem seems to be in the URL generated by Jetty.

      When I click on the particular artifact's URL, I get the following link:
      //
      repository/playground/com/gerrit-architecture/1.0/gerrit-architecture-1.0.zip

      which results with the following message:

      *Problem accessing
      //repository/playground/com/gerrit-architecture/1.0/gerrit-architecture-1.0.zip.
      Reason: Not Found*
      After removing the first slash "/" from the URL - downloading
      starts automatically. So I suspect that one of the "/" is redundant and
      shouldn't be generated.

      my default config entry seems to be fine:

      ./conf/archiva.xml:<location>/mnt/localdata/gerrit/archiva/apache-archiva-js-1.4-M3/repositories/playground</location>

      Attachments

        Activity

          People

            oching Maria Odea B. Ching
            oching Maria Odea B. Ching
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: