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

2006-09-24 Thread Lennart Regebro

OK, a fix has been checked in. I hope it doesn't break anything, my
checkout now fails a lot of tests with or without this change, so I'm
checking it in on the 2.10 branch, and I'll have to recheck it out and
try again, and I don't have time tonight.
___
Zope-Dev maillist  -  Zope-Dev@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 )


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

2006-09-17 Thread Andreas Jung
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.


pgpZh088kZsvm.pgp
Description: PGP signature
___
Zope-Dev maillist  -  Zope-Dev@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 )