[ 
http://jira.codehaus.org/browse/MRM-595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

nicolas de loof updated MRM-595:
--------------------------------

    Attachment: plexus-webdav-api.patch
                MRM-595.patch

- simple change on plexus-webdav-api to support logicalResource beeing changed 
after the DavServerRequest has been created.

- change on archiva-webapp ProxiedDavServer to fecth from proxied prior to 
computing the resource File

- testcase to demonstrate the issue and the Fix.

> 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
>         Attachments: MRM-595.patch, plexus-webdav-api.patch
>
>
> 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