regression : server-side relocation fails
-----------------------------------------

                 Key: MRM-595
                 URL: http://jira.codehaus.org/browse/MRM-595
             Project: Archiva
          Issue Type: Bug
          Components: WebDAV interface
    Affects Versions: 1.0-beta-4
            Reporter: nicolas de loof


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.




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to