[Zope3-dev] Re: SVN: Zope3/trunk/src/zope/app/dav/propfind.py Removed DWIM callable check. (It happened to do the Wrong Thing for

Philipp von Weitershausen philipp at weitershausen.de
Fri Jul 16 13:45:45 EDT 2004


Philipp von Weitershausen wrote:

> this evidently breaks DAV support in Zope3. This is what I did:
> 
> - start out with an empty ZODB and start Zope
> 
> - open cadaver to http://localhost:8080
> 
> - cadaver says:
> 
>   Could not access / (not WebDAV-enabled?):
>   207 Multi-Status
>   Connection to `localhost' closed.
> 
> - Using tcpwatch, I find out that the response body of the request 
> contains:
...
> 
> Now, you see that instead of having these methods called, you see the 
> repr() of them as objects. Reverting the change like using
> 
>   svn merge -r 26364:26363 ...
> 
> makes WebDAV work again. Since I don't know what exactly that "Wrong 
> Thing" was that the code you removed was doing, I can't provide a fix 
> just now.

I have a fix for this, but the existing tests are hard to understand. 
I'll come up with a new test over the weekend.

Philipp



More information about the Zope3-dev mailing list