commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Harrop (JIRA)" <j...@apache.org>
Subject [jira] Updated: (VFS-207) PATCH for Webdav - faulty test for existence causes PUT of new resource to fail
Date Wed, 09 Apr 2008 14:28:24 GMT

     [ https://issues.apache.org/jira/browse/VFS-207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jason Harrop updated VFS-207:
-----------------------------

    Attachment: patch-testexistence.txt

> PATCH for Webdav - faulty test for existence causes PUT of new resource to fail
> -------------------------------------------------------------------------------
>
>                 Key: VFS-207
>                 URL: https://issues.apache.org/jira/browse/VFS-207
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 1.0, 1.1
>            Reporter: Jason Harrop
>         Attachments: patch-testexistence.txt
>
>
> org.apache.commons.vfs.provider.webdav.WebdavFileObject.setDavResource seeks to determine
whether a specified resource exists already or not.  
> At present, it checks whether COPY is an allowed method, and if it is, the resource is
assumed to exist.  
> According to the code, this works on IIS.
> It doesn't work for Alfresco's WebDAV implementation, at least.  This causes the PUT
of a new resource to fail.
> The attached patch uses a PROPFIND to determine whether the resource exists.  (It also
contains the simple fix to the argument to setEscapedPath)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message