Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 377690

Summary: WevDAV plugin does not support non-windows shares
Product: [ECD] Orion Reporter: Ken Walker <ken_walker>
Component: ClientAssignee: Ken Walker <ken_walker>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: simon_kaegi
Version: 0.4   
Target Milestone: 0.5 M2   
Hardware: All   
OS: All   
Whiteboard:

Description Ken Walker CLA 2012-04-25 15:39:13 EDT
In trying to use the WebDAV plugin on an externally hosted WebDAV site the filenames come back as "undefined" and the ability to use these file links does not exist.

This does apparently work for people local hosting a Windows WebDAV share
Comment 1 Ken Walker CLA 2012-04-25 15:56:47 EDT
According to http://www.webdav.org/specs/rfc4918.pdf section 15.2 the displayname is just a textual description for the resource not the actual name of the file.

So I've changed the code to put the resource name as the Name for the file item.

The windows WebDAV also seems to return the base within the resource but the external site does not, it's not anywhere in the XML response.  So in this case, using the hostname of the name of the plugin site and prepending it to the resource name.  Otherwise the file links in the Navigator link to the wrong site, not the WebDAV site.

Created a Unique name for each WebDAV file system to include the site name otherwise you can only have one (1) WebDAV file system loaded.
Comment 4 Ken Walker CLA 2012-05-24 11:25:13 EDT
Fixed