Re: plone webdav / kopieren geht nicht.

Joerg Baach <[email protected]>
Newsgroups gmane.comp.web.zope.german
Message-ID <[email protected]>

Andreas Jung wrote:
> 
> Kommen die Requests in Zope an (-> Z2.log)?
> Fall ja, schau im ZMI -> Control Panel -> Webdav Lockmanager nach,
> ob dort ggf. ein Objekt gelockt ist.

joerg@mint:~/tmp/ldav/testsite/testfolder$ ls
foo
joerg@mint:~/tmp/ldav/testsite/testfolder$ cp ~/milk.jpg .

fuehrt zu

127.0.0.1 - admin [02/Feb/2010:16:27:34 +0200] "PROPFIND
/testsite/testfolder/ HTTP/1.1" 207 1572 "" "davfs2/1.4.5 neon/0.28.6"
127.0.0.1 - admin [02/Feb/2010:16:27:46 +0200] "PROPFIND
/testsite/testfolder/ HTTP/1.1" 207 1572 "" "davfs2/1.4.5 neon/0.28.6"

Gelockt ist auch nix (ich hab bisher auch nur die testsite, darin nen
Ordner testfolder, darin nen Ornder foo angelegt).

/me staunt und wundert sich

Gruss,

  Joerg

P.S: wireshark berichtet mir:
=====================================================
PROPFIND /testsite/testfolder/ HTTP/1.1
Host: localhost:1995
User-Agent: davfs2/1.4.5 neon/0.28.6
Connection: TE
TE: trailers
Depth: 1
Content-Length: 286
Content-Type: application/xml
Authorization: Basic YWRtaW46YWRtaW4=

<?xml version="1.0" encoding="utf-8"?>
<propfind xmlns="DAV:"><prop>
<getetag xmlns="DAV:"/>
<getcontentlength xmlns="DAV:"/>
<creationdate xmlns="DAV:"/>
<getlastmodified xmlns="DAV:"/>
<resourcetype xmlns="DAV:"/>
<executable xmlns="http://apache.org/dav/props/"/>
</prop></propfind>
HTTP/1.1 207 Multi-Status
Server: Zope/(unreleased version, python 2.4.6, linux2) ZServer/1.1
Plone/3.3.4
Date: Tue, 02 Feb 2010 15:30:38 GMT
Date: Tue, 02 Feb 2010 15:30:38 GMT
Connection: close
Content-Type: text/xml; charset="utf-8"
Content-Length: 1306

<?xml version="1.0" encoding="utf-8"?>
<d:multistatus xmlns:d="DAV:">
<d:response>
<d:href>/testsite/testfolder/</d:href>
<d:propstat>
  <d:prop>
<n:getcontentlength xmlns:n="DAV:">1</n:getcontentlength>
<n:creationdate xmlns:n="DAV:">1970-01-01T12:00:00Z</n:creationdate>
<n:getlastmodified xmlns:n="DAV:">Tue, 02 Feb 2010 15:14:16
GMT</n:getlastmodified>
<n:resourcetype xmlns:n="DAV:"><n:collection/></n:resourcetype>
  </d:prop>
  <d:status>HTTP/1.1 200 OK</d:status>
</d:propstat>
<d:propstat>
  <d:prop>
<n:getetag xmlns:n="DAV:"/>
<n:executable xmlns:n="http://apache.org/dav/props/"/>  </d:prop>
  <d:status>HTTP/1.1 404 Not Found</d:status>
</d:propstat>
</d:response>
<d:response>
<d:href>/testsite/testfolder/foo/</d:href>
<d:propstat>
  <d:prop>
<n:getcontentlength xmlns:n="DAV:">1</n:getcontentlength>
<n:creationdate xmlns:n="DAV:">1970-01-01T12:00:00Z</n:creationdate>
<n:getlastmodified xmlns:n="DAV:">Tue, 02 Feb 2010 15:14:16
GMT</n:getlastmodified>
<n:resourcetype xmlns:n="DAV:"><n:collection/></n:resourcetype>
  </d:prop>
  <d:status>HTTP/1.1 200 OK</d:status>
</d:propstat>
<d:propstat>
  <d:prop>
<n:getetag xmlns:n="DAV:"/>
<n:executable xmlns:n="http://apache.org/dav/props/"/>  </d:prop>
  <d:status>HTTP/1.1 404 Not Found</d:status>
</d:propstat>
</d:response>
</d:multistatus>

============================================================

LOCK /testsite/testfolder/milk.jpg HTTP/1.1
Host: localhost:1995
User-Agent: davfs2/1.4.5 neon/0.28.6
Connection: TE
TE: trailers
Content-Length: 162
Content-Type: application/xml
Depth: 0
Timeout: Second-1800
Authorization: Basic YWRtaW46YWRtaW4=
If-None-Match: *

<?xml version="1.0" encoding="utf-8"?>
<lockinfo xmlns='DAV:'>
 <lockscope><exclusive/></lockscope>
<locktype><write/></locktype><owner>admin</owner>
</lockinfo>


===============================================================

Und das wars dann....


_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.