[Zope-dev] Re: WebDAV PUT factory tests failing on 2.10 branch

Philipp von Weitershausen philipp at weitershausen.de
Sun Sep 17 06:38:11 EDT 2006


AFAIK, Stefan Hollek checked it in to demonstrate an incompatibility of 
Zope 2.10 vs. 2.9. See http://www.zope.org/Collectors/Zope/2187.


Andreas Jung wrote:
> Those two tests are currently failing on the 2.10 branch (updated with 
> the Zope 3.3.0rc1 code). Any hints?
> 
> Andreas
> 
> ---------------
> 
> 
> Error in test testSubfolderInsideOutVirtualHosting 
> (webdav.tests.testPUT_factory.TestPUTFactory)
> Traceback (most recent call last):
>  File "/opt/python-2.4.3/lib/python2.4/unittest.py", line 260, in run
>    testMethod()
>  File 
> "/develop/sandboxes/Zope-2.10/Zope/lib/python/webdav/tests/testPUT_factory.py", 
> line 66, in testSubfolderInsideOutVirtualHosting
>    put = 
> request.traverse('/VirtualHostBase/http/foo.com:80/folder/VirtualHostRoot/_vh_foo/doc') 
> 
>  File 
> "/develop/sandboxes/Zope-2.10/Zope/lib/python/ZPublisher/BaseRequest.py", 
> line 463, in traverse
>    subobject = self.traverseName(object, entry_name)
>  File 
> "/develop/sandboxes/Zope-2.10/Zope/lib/python/ZPublisher/BaseRequest.py", 
> line 318, in traverseName
>    ob2 = adapter.publishTraverse(self, name)
>  File 
> "/develop/sandboxes/Zope-2.10/Zope/lib/python/ZPublisher/BaseRequest.py", 
> line 77, in publishTraverse
>    subobject=object.__bobo_traverse__(request, name)
>  File 
> "/develop/sandboxes/Zope-2.10/Zope/lib/python/webdav/NullResource.py", 
> line 67, in __bobo_traverse__
>    raise Conflict, 'Collection ancestors must already exist.'
> Conflict: Collection ancestors must already exist.
> 
> .
> 
> Error in test testSubfolderVirtualHosting 
> (webdav.tests.testPUT_factory.TestPUTFactory)
> Traceback (most recent call last):
>  File "/opt/python-2.4.3/lib/python2.4/unittest.py", line 260, in run
>    testMethod()
>  File 
> "/develop/sandboxes/Zope-2.10/Zope/lib/python/webdav/tests/testPUT_factory.py", 
> line 54, in testSubfolderVirtualHosting
>    put = 
> request.traverse('/VirtualHostBase/http/foo.com:80/folder/VirtualHostRoot/doc') 
> 
>  File 
> "/develop/sandboxes/Zope-2.10/Zope/lib/python/ZPublisher/BaseRequest.py", 
> line 463, in traverse
>    subobject = self.traverseName(object, entry_name)
>  File 
> "/develop/sandboxes/Zope-2.10/Zope/lib/python/ZPublisher/BaseRequest.py", 
> line 318, in traverseName
>    ob2 = adapter.publishTraverse(self, name)
>  File 
> "/develop/sandboxes/Zope-2.10/Zope/lib/python/ZPublisher/BaseRequest.py", 
> line 77, in publishTraverse
>    subobject=object.__bobo_traverse__(request, name)
>  File 
> "/develop/sandboxes/Zope-2.10/Zope/lib/python/webdav/NullResource.py", 
> line 67, in __bobo_traverse__
>    raise Conflict, 'Collection ancestors must already exist.'
> Conflict: Collection ancestors must already exist.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev at zope.org
> http://mail.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope )



More information about the Zope-Dev mailing list