[ZCM] [ZC] 1145/ 7 Wontfix "WebDAV broken in 2.7.0-b3"

"Collector: Zope Bugs, Features, and Patches ..." <[email protected]>
Newsgroups gmane.comp.web.zope.devel.collector-monitor
Message-ID <[email protected]>
Issue #1145 Update (Wontfix) "WebDAV broken in 2.7.0-b3"
 Status Wontfix, Zope/bug medium
To followup, visit:
  http://www.zope.org/Collectors/Zope/1145

==============================================================
= Wontfix - Entry #7 by ajung on Jan 13, 2007 6:24 am

 Status: Accepted => Wontfix

Zope 2.7 is outdated, resubmit if the error persists.
________________________________________
= Comment - Entry #6 by rjmunro on Jan 7, 2005 1:22 pm

I'm also getting the problem. I can't connect with a webDav client, and when I connect with a web browser, I get:

Traceback (innermost last):

    * Module ZPublisher.Publish, line 180, in publish_module_standard
    * Module Products.PlacelessTranslationService.PatchStringIO, line 45, in new_publish
    * Module ZPublisher.Publish, line 131, in publish
    * Module Zope.App.startup, line 204, in zpublisher_exception_hook
    * Module ZPublisher.Publish, line 101, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 39, in call_object
    * Module webdav.Resource, line 581, in manage_DAVget

AttributeError: manage_FTPget (Also, an error occurred while attempting to render the standard error message.)

Note that it only happens when I look at a folder. I can get source files from the webDav port with no problems by typing in their whole path.
________________________________________
= Comment - Entry #5 by dchandek on Nov 10, 2004 4:37 pm

Still having problem with Zope 2.7.3/Python 2.3.4 on Linux with Windows client (Network Places/IE on WinXP):

Traceback (innermost last):
  Module ZPublisher.Publish, line 101, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 39, in call_object
  Module webdav.Resource, line 580, in manage_DAVget
AttributeError: manage_FTPget
________________________________________
= Comment - Entry #4 by janm on Sep 5, 2004 12:42 pm

Hi,

after putting a lot of debug print statements into ZPublisher/Publish.py, webdav/Resource.py and other places I found out that both KDE's Konqueror and the Windows Explorer acting as webdav client first places a PROPFIND request and zope replies properly with a webdav compliant xml file.

However Konqueror somehow does not properly digest the reply and send another request for origURL/PROPFIND - this time with the GET method. ... and the PROPFIND should not and does not have an implementation of manage_FTPget().

MS Explorer now proceeds with subsequent webdav requests.

Seems like this is a Konqueror problem.

Any ideas why Konqueror behaves as it does? Is there something wrong with the response below? (See block with 404 error - folder is non-empty)

best regards,

   Jan

Zope 2.7.1, Plone 2.0.3

--------------- Result of PROPFIND request -----
HTTP/1.1 207 Multi-Status
Server: ZServerSSL/0.12
Date: Sun, 05 Sep 2004 16:43:04 GMT
Content-Length: 1082
Connection: close
Ms-Author-Via: DAV
Connection: close
Etag:
Date: Sun, 05 Sep 2004 16:43:04 GMT
Content-Type: text/xml; charset="utf-8"

<?xml version="1.0" encoding="utf-8"?>
<d:multistatus xmlns:d="DAV:">
<d:response>
<d:href>/Plone/testFolder/</d:href>
<d:propstat>
  <d:prop>
<n:creationdate xmlns:n="DAV:">1970-01-01T12:00:00Z</n:creationdate>
<n:getcontentlength xmlns:n="DAV:"></n:getcontentlength>
<n:displayname xmlns:n="DAV:">testFolder</n:displayname>
<n:source xmlns:n="DAV:"></n:source>
<n:getcontenttype xmlns:n="DAV:">None</n:getcontenttype>
<n:getlastmodified xmlns:n="DAV:">Sun, 05 Sep 2004 16:22:01 GMT</n:getlastmodified>
<n:supportedlock xmlns:n="DAV:">
  <n:lockentry>
  <d:lockscope><d:exclusive/></d:lockscope>
  <d:locktype><d:write/></d:locktype>
  </n:lockentry>
  </n:supportedlock>
<n:lockdiscovery xmlns:n="DAV:">

</n:lockdiscovery>
<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:getcontentlanguage xmlns:n="DAV:"/>
<n:executable xmlns:n="DAV:"/>
<n:getetag xmlns:n="DAV:"/>
  </d:prop>
  <d:status>HTTP/1.1 404 Not Found</d:status>
</d:propstat>
</d:response>
</d:multistatus>


________________________________________
= Accept - Entry #3 by ajung on May 17, 2004 2:28 pm

 Status: Pending => Accepted

 Supporters added: ajung

Initial HTTP traffic between MSIE and Zope (recorded with WebDAV):


GET / HTTP/1.1
Accept: */*
Accept-Language: de
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.1.4322)
Host: 192.168.0.12:7000
Connection: Keep-Alive
Cookie: __ac="YWp1bmc6cG5tYXN0ZXI%3D%0A"; _ZopeId="59935622A1UUBEaLfTM"
Authorization: Basic YWp1bmc6cG5tYXN0ZXI=

HTTP/1.1 500 Internal Server Error
Server: Zope/(unreleased version, python 2.3.3, linux2) ZServer/1.1 Plone/2.0.1
Date: Mon, 17 May 2004 18:23:06 GMT
Bobo-Exception-Line: 582
Content-Length: 797
Bobo-Exception-Value: See the server error log for details
Content-Type: text/html
Bobo-Exception-Type: AttributeError
Etag: 
Bobo-Exception-File: Resource.py

<html>
  <head><title>Zope</title></head>
  <body bgcolor="#FFFFFF">


  <h2>Site Error</h2>

  <p>An error was encountered while publishing this resource.
  </p>
  
  <p>
  <strong>Error Type: AttributeError</strong><br />
  <strong>Error Value: manage_FTPget</strong><br /> 
  </P>
 
  <hr noshade="noshade" />
 
  <p>Troubleshooting Suggestions</p>

  <ul>
    <li>The URL may be incorrect.</li>
  <li>The parameters passed to this resource may be incorrect.</li>
  <li>A resource that this resource relies on may be encountering
      an error.</li>
  </ul>

  <p>For more detailed information about the error, please
  refer to the HTML source for this page.
  </p>

  <p>If the error persists please contact the site maintainer.
  Thank you for your patience.
  </p>

  

  </body>
</html>


The problem seems to depend somehow on the Cookie or Authorization header. The object that is causing the error
is the application object which does not have manager_FTPget
defined....no clue about the problem behind.
________________________________________
= Comment - Entry #2 by abbatini on May 12, 2004 4:33 am

This same behaviour observed at Firefox 0.8 Mozilla/5.0 (Windows; U; Windows NT 5.1; pl-PL; rv:1.6) Gecko/20040206 Firefox/0.8.

But "WebDAV Explorer":http://www.ics.uci.edu/%7Ewebdav/ work.
________________________________________
= Request - Entry #1 by Anonymous User on Dec 7, 2003 11:30 am

All attempts to use WebDAV via MSIE6 results in the following error:

 Site Error
 An error was encountered while publishing this resource. 

 Error Type: AttributeError
 Error Value: manage_FTPget

 ...etc...

 ----------------------------------------------------
 Zope Error Log entry says:

 Time 2003/12/07 16:25:32.095 GMT 
 User Name (User Id) Adminstrator (Administrator) 
 Request URL http://somesite.com:1980/manage_DAVget 
 Exception Type AttributeError 
 Exception Value manage_FTPget  

 Traceback (innermost last): 

 Module ZPublisher.Publish, line 100, in publish 
 Module ZPublisher.mapply, line 88, in mapply 
 Module ZPublisher.Publish, line 40, in call_object 
 Module webdav.Resource, line 581, in manage_DAVget 

 AttributeError: manage_FTPget 

==============================================================
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.