akshaydharphale / ganttproject

Automatically exported from code.google.com/p/ganttproject
0 stars 0 forks source link

Unable to upload new projects to WebDAV server #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Copied from the bug tracker on SourceForge:
https://sourceforge.net/tracker/index.php?func=detail&aid=1119494&group_id=72728
&atid=535427

You are unable to upload ``new'' projects to a webdav
server. This problem exists in both 1.10.3 and
1.11-pre1. I have tested it on GNU/Linux (Sun Java
1.4.2) and Mac OS X (Java 1.4.2).

I am able to get existing GanttProject files from a
webdav server and then save changed back to the server.
However, when I try to save a file that does not
already exist on the webdav server, it fails and a
dialog with the following text appears:

The specified path is currently locked.
Please select another path.

Looking at the Apache logs, you see:

10.0.1.95 - gantt [09/Feb/2005:12:39:44 -0600]
"PROPFIND /gt.gan HTTP/1.1" 404 289
10.0.1.95 - gantt [09/Feb/2005:12:39:44 -0600]
"PROPFIND / HTTP/1.1" 207 713
10.0.1.95 - - [09/Feb/2005:12:39:44 -0600] "<?xml
version=\"1.0\" encoding=\"utf-8\" ?><D:propfind
xmlns:D=\"DAV:\"><D:prop><D:displayname/><D:getcontentlength/><D:getcontent
type/><D:resourcetype/><D:getlastmodified/><D:lockdiscovery/></D:prop></D:p
ropfind>LOCK
/gt.gan HTTP/1.1" 400 379

So the PROPFIND fails and then the LOCK fails (not
because of another lock, but because the file it is
trying to lock does not exist).

The workaround is to get access to the server and
``touch'' the file. Of course, not everyone has shell
access to the web server.

Original issue reported on code.google.com by dbarashev on 1 Dec 2008 at 12:38

GoogleCodeExporter commented 9 years ago
As we have been fixing WebDAV lately, I suppose we (accidentally) solved it as 
well?

I do not have any problems (since our fixes) saving a new project to a WebDAV 
server anymore (using Apache2 with dav modules).

Original comment by maarten....@gmail.com on 4 Aug 2011 at 9:58

GoogleCodeExporter commented 9 years ago
Published in beta 2

Original comment by dbarashev on 1 Oct 2011 at 10:48

GoogleCodeExporter commented 9 years ago

Original comment by dbarashev on 22 Sep 2014 at 12:19