Uploaded image for project: 'Archiva'
  1. Archiva
  2. MRM-595

regression : server-side relocation fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-beta-4
    • 1.0
    • WebDAV Interface
    • None
    • Patch

    Description

      1.0-beta-4 introduces a regression in maven1 request handling :

      simply try to get :
      http://localhost:8080/archiva/repository/internal/servletapi/jars/servletapi-2.4.jar

      two causes :

      1. as fetchContentFromProxies MAY change the request pathInfo when relocation occurs, it MUST be called before resource file is build based on request.getLogicalResource().

      2. getLogicalResource() is used to get the resource path. The value returned is not affected when the request PathInfo has been changed.

      point 2 may require some changes in plexus DavServerRequest : compute the logical resource on-demand, or add a new public method to set it.

      Attachments

        1. MRM-595.patch
          17 kB
          nicolas de loof
        2. plexus-webdav-api.patch
          2 kB
          nicolas de loof

        Activity

          People

            oching Maria Odea B. Ching
            ndeloof nicolas de loof
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: