[Testbot] FAILED (failures=5, errors=9) : AT-1.6 Plone-4.0 Zope-2.12 Python-2.6.2
Archetypes Tests
plone-tests at epy.co.at
Sun Oct 18 03:29:05 UTC 2009
Archetypes Tests : FAILED (failures=5, errors=9)
AT-1.6 Plone-4.0 Zope-2.12 Python-2.6.2
Running /usr/local/python2.6/bin/python ./bin/test -q --no-color --no-progress --package Products.Archetypes --package Products.MimetypesRegistry --package Products.PortalTransforms --package Products.validation
Failed to import ZPsycopgDA
Failed to import ZMySQLDA
Running Products.Archetypes.tests.layer.ZCML tests:
Set up Testing.ZopeTestCase.layer.ZopeLite in 0.290 seconds.
Set up Products.CMFCore.testing.FunctionalZCMLLayer in 0.204 seconds.
Set up Products.Archetypes.tests.layer.ZCML in 0.208 seconds.
Ran 39 tests with 0 failures and 0 errors in 1.048 seconds.
Running Products.Archetypes.tests.layer.ArchetypesSite tests:
Set up Products.Archetypes.tests.layer.ArchetypesSite in 1.784 seconds.
/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py:73: DeprecationWarning: Products.Archetypes.tests.test_classgen.Dummy.manage_afterAdd is discouraged. You should use event subscribers instead.
DeprecationWarning)
/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py:73: DeprecationWarning: Products.Archetypes.tests.test_annotation.AnnDummy.manage_afterAdd is discouraged. You should use event subscribers instead.
DeprecationWarning)
Failure in test set (Products.Archetypes.Field.ReferenceField)
Failed doctest test for Products.Archetypes.Field.ReferenceField.set
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/Field.py", line 1732, in set
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/Field.py", line 1781, in Products.Archetypes.Field.ReferenceField.set
Failed example:
_ = self.folder.invokeFactory('SimpleBTreeFolder', 'btf')
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest Products.Archetypes.Field.ReferenceField.set[line 49, example 14]>", line 1, in <module>
_ = self.folder.invokeFactory('SimpleBTreeFolder', 'btf')
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/PortalFolder.py", line 295, in invokeFactory
return pt.constructContent(type_name, self, id, RESPONSE, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 815, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 293, in constructInstance
return self._constructInstance(container, id, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 534, in _constructInstance
newid = m(id, *args, **kw)
File "<string>", line 7, in addSimpleBTreeFolder
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/ObjectManager.py", line 344, in _setObject
notify(ObjectWillBeAddedEvent(ob, self, id))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.event-3.4.1-py2.6.egg/zope/event/__init__.py", line 23, in notify
subscriber(event)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/event.py", line 26, in dispatch
for ignored in zope.component.subscribers(event, None):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/_api.py", line 138, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/registry.py", line 323, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.interface-3.5.2-py2.6-linux-x86_64.egg/zope/interface/adapter.py", line 579, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/event.py", line 33, in objectEventNotify
adapters = zope.component.subscribers((event.object, event), None)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/_api.py", line 138, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/registry.py", line 323, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.interface-3.5.2-py2.6-linux-x86_64.egg/zope/interface/adapter.py", line 579, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py", line 107, in dispatchObjectWillBeMovedEvent
dispatchToSublocations(ob, event)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.container-3.8.2-py2.6-linux-x86_64.egg/zope/container/contained.py", line 147, in dispatchToSublocations
for sub in subs.sublocations():
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py", line 87, in sublocations
for ob in self.container.objectValues():
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/Products/BTreeFolder2/BTreeFolder2.py", line 370, in objectValues
return LazyMap(self._getOb, self.objectIds(spec))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/plone.folder/src/plone/folder/ordered.py", line 87, in objectIds
ordering = IOrdering(self)
TypeError: ('Could not adapt', <SimpleBTreeFolder at btf>, <InterfaceClass plone.folder.interfaces.IOrdering>)
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/Field.py", line 1782, in Products.Archetypes.Field.ReferenceField.set
Failed example:
nodes[2].setLink(self.folder.btf)
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest Products.Archetypes.Field.ReferenceField.set[line 50, example 15]>", line 1, in <module>
nodes[2].setLink(self.folder.btf)
AttributeError: btf
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/Field.py", line 1783, in Products.Archetypes.Field.ReferenceField.set
Failed example:
nodes[2].getLink()
Expected:
<SimpleBTreeFolder...>
Got nothing
/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py:73: DeprecationWarning: Products.Archetypes.tests.test_event.Dummy.manage_afterAdd is discouraged. You should use event subscribers instead.
DeprecationWarning)
Failure in test /home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/traversal_4981.txt
Failed doctest test for traversal_4981.txt
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/traversal_4981.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/traversal_4981.txt", line 10, in traversal_4981.txt
Failed example:
ignored = portal.invokeFactory('SimpleBTreeFolder', 'simple_btree_folder')
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest traversal_4981.txt[line 10, example 3]>", line 1, in <module>
ignored = portal.invokeFactory('SimpleBTreeFolder', 'simple_btree_folder')
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/PortalFolder.py", line 295, in invokeFactory
return pt.constructContent(type_name, self, id, RESPONSE, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 815, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 293, in constructInstance
return self._constructInstance(container, id, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 534, in _constructInstance
newid = m(id, *args, **kw)
File "<string>", line 7, in addSimpleBTreeFolder
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/ObjectManager.py", line 344, in _setObject
notify(ObjectWillBeAddedEvent(ob, self, id))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.event-3.4.1-py2.6.egg/zope/event/__init__.py", line 23, in notify
subscriber(event)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/event.py", line 26, in dispatch
for ignored in zope.component.subscribers(event, None):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/_api.py", line 138, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/registry.py", line 323, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.interface-3.5.2-py2.6-linux-x86_64.egg/zope/interface/adapter.py", line 579, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/event.py", line 33, in objectEventNotify
adapters = zope.component.subscribers((event.object, event), None)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/_api.py", line 138, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/registry.py", line 323, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.interface-3.5.2-py2.6-linux-x86_64.egg/zope/interface/adapter.py", line 579, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py", line 107, in dispatchObjectWillBeMovedEvent
dispatchToSublocations(ob, event)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.container-3.8.2-py2.6-linux-x86_64.egg/zope/container/contained.py", line 147, in dispatchToSublocations
for sub in subs.sublocations():
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py", line 87, in sublocations
for ob in self.container.objectValues():
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/Products/BTreeFolder2/BTreeFolder2.py", line 370, in objectValues
return LazyMap(self._getOb, self.objectIds(spec))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/plone.folder/src/plone/folder/ordered.py", line 87, in objectIds
ordering = IOrdering(self)
TypeError: ('Could not adapt', <SimpleBTreeFolder at simple_btree_folder>, <InterfaceClass plone.folder.interfaces.IOrdering>)
Failure in test /home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/folder_marshall.txt
Failed doctest test for folder_marshall.txt
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/folder_marshall.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/folder_marshall.txt", line 22, in folder_marshall.txt
Failed example:
self.portal.invokeFactory('SimpleBTreeFolder', 'simple_btree_folder') \
in (None, 'simple_btree_folder')
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest folder_marshall.txt[line 22, example 5]>", line 1, in <module>
self.portal.invokeFactory('SimpleBTreeFolder', 'simple_btree_folder') \
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/PortalFolder.py", line 295, in invokeFactory
return pt.constructContent(type_name, self, id, RESPONSE, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 815, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 293, in constructInstance
return self._constructInstance(container, id, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 534, in _constructInstance
newid = m(id, *args, **kw)
File "<string>", line 7, in addSimpleBTreeFolder
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/ObjectManager.py", line 344, in _setObject
notify(ObjectWillBeAddedEvent(ob, self, id))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.event-3.4.1-py2.6.egg/zope/event/__init__.py", line 23, in notify
subscriber(event)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/event.py", line 26, in dispatch
for ignored in zope.component.subscribers(event, None):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/_api.py", line 138, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/registry.py", line 323, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.interface-3.5.2-py2.6-linux-x86_64.egg/zope/interface/adapter.py", line 579, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/event.py", line 33, in objectEventNotify
adapters = zope.component.subscribers((event.object, event), None)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/_api.py", line 138, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/registry.py", line 323, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.interface-3.5.2-py2.6-linux-x86_64.egg/zope/interface/adapter.py", line 579, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py", line 107, in dispatchObjectWillBeMovedEvent
dispatchToSublocations(ob, event)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.container-3.8.2-py2.6-linux-x86_64.egg/zope/container/contained.py", line 147, in dispatchToSublocations
for sub in subs.sublocations():
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py", line 87, in sublocations
for ob in self.container.objectValues():
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/Products/BTreeFolder2/BTreeFolder2.py", line 370, in objectValues
return LazyMap(self._getOb, self.objectIds(spec))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/plone.folder/src/plone/folder/ordered.py", line 87, in objectIds
ordering = IOrdering(self)
TypeError: ('Could not adapt', <SimpleBTreeFolder at simple_btree_folder>, <InterfaceClass plone.folder.interfaces.IOrdering>)
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/folder_marshall.txt", line 31, in folder_marshall.txt
Failed example:
self.portal.simple_btree_folder.Schema().getLayerImpl('marshall')
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest folder_marshall.txt[line 31, example 7]>", line 1, in <module>
self.portal.simple_btree_folder.Schema().getLayerImpl('marshall')
AttributeError: simple_btree_folder
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/folder_marshall.txt", line 116, in folder_marshall.txt
Failed example:
folder = self.portal.simple_btree_folder
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest folder_marshall.txt[line 116, example 18]>", line 1, in <module>
folder = self.portal.simple_btree_folder
AttributeError: simple_btree_folder
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/folder_marshall.txt", line 118, in folder_marshall.txt
Failed example:
print http(r"""
PUT /%s/simple_btree_folder/ HTTP/1.1
Authorization: Basic %s:%s
Content-Type: text/plain; charset="utf-8"
Depth: 0
description: BTree Folder Content
""" % (portal_name, user_name, user_password))
Expected:
HTTP/1.1 405 Method Not Allowed
...
Got:
HTTP/1.1 201 Created
Accept-Ranges: none
Connection: close
Content-Length: 0
Date: Sun, 18 Oct 2009 02:44:05 GMT
<BLANKLINE>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/folder_marshall.txt", line 129, in folder_marshall.txt
Failed example:
print folder.Description()
Expected:
<BLANKLINE>
Got:
Simple Folder Content
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/folder_marshall.txt", line 132, in folder_marshall.txt
Failed example:
folder.called_afterPUT_hook
Expected:
Traceback (most recent call last):
...
AttributeError: called_afterPUT_hook
Got:
True
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/folder_marshall.txt", line 141, in folder_marshall.txt
Failed example:
print http(r"""
GET /%s/simple_btree_folder/manage_DAVget HTTP/1.1
Authorization: Basic %s:%s
""" % (portal_name, user_name, user_password))
Expected:
HTTP/1.1 405 Method Not Allowed
...
Got:
HTTP/1.1 200 OK
Content-Length: 207
Content-Type: text/plain; charset=iso-8859-15
<BLANKLINE>
Title:
Subject:
Publisher:
Description: BTree Folder Content
Contributors:
Effective_date: None
Expiration_date: None
Type: Document
Format: text/plain
Language:
Rights:
SafetyBelt: None
<BLANKLINE>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/folder_marshall.txt", line 164, in folder_marshall.txt
Failed example:
print folder.Description()
Expected:
BTree Folder Content
<BLANKLINE>
Got:
Simple Folder Content
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/folder_marshall.txt", line 171, in folder_marshall.txt
Failed example:
print http(r"""
GET /%s/simple_btree_folder/manage_DAVget HTTP/1.1
Authorization: Basic %s:%s
""" % (portal_name, user_name, user_password))
Expected:
HTTP/1.1 200 OK
...
id: simple_btree_folder
title:
allowDiscussion: False
subject:
description: BTree Folder Content
location:
contributors:
creators: test_user_1_
effectiveDate: None
expirationDate: None
language:
rights:
creation_date: ...
modification_date: ...
Got:
HTTP/1.1 200 OK
Content-Length: 216
Content-Type: text/plain; charset=iso-8859-15
<BLANKLINE>
Title:
Subject:
Publisher:
Description: BTree Folder Content
Contributors:
Effective_date: None
Expiration_date: None
Type: Document
Format: text/plain
Language:
Rights:
SafetyBelt: 1255833845.87
<BLANKLINE>
Failure in test /home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/traversal.txt
Failed doctest test for traversal.txt
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/traversal.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/traversal.txt", line 37, in traversal.txt
Failed example:
self.portal.invokeFactory('SimpleBTreeFolder', 'simple_btree_folder') \
in (None, 'simple_btree_folder')
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest traversal.txt[line 37, example 8]>", line 1, in <module>
self.portal.invokeFactory('SimpleBTreeFolder', 'simple_btree_folder') \
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/PortalFolder.py", line 295, in invokeFactory
return pt.constructContent(type_name, self, id, RESPONSE, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 815, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 293, in constructInstance
return self._constructInstance(container, id, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 534, in _constructInstance
newid = m(id, *args, **kw)
File "<string>", line 7, in addSimpleBTreeFolder
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/ObjectManager.py", line 344, in _setObject
notify(ObjectWillBeAddedEvent(ob, self, id))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.event-3.4.1-py2.6.egg/zope/event/__init__.py", line 23, in notify
subscriber(event)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/event.py", line 26, in dispatch
for ignored in zope.component.subscribers(event, None):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/_api.py", line 138, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/registry.py", line 323, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.interface-3.5.2-py2.6-linux-x86_64.egg/zope/interface/adapter.py", line 579, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/event.py", line 33, in objectEventNotify
adapters = zope.component.subscribers((event.object, event), None)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/_api.py", line 138, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/registry.py", line 323, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.interface-3.5.2-py2.6-linux-x86_64.egg/zope/interface/adapter.py", line 579, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py", line 107, in dispatchObjectWillBeMovedEvent
dispatchToSublocations(ob, event)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.container-3.8.2-py2.6-linux-x86_64.egg/zope/container/contained.py", line 147, in dispatchToSublocations
for sub in subs.sublocations():
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py", line 87, in sublocations
for ob in self.container.objectValues():
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/Products/BTreeFolder2/BTreeFolder2.py", line 370, in objectValues
return LazyMap(self._getOb, self.objectIds(spec))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/plone.folder/src/plone/folder/ordered.py", line 87, in objectIds
ordering = IOrdering(self)
TypeError: ('Could not adapt', <SimpleBTreeFolder at simple_btree_folder>, <InterfaceClass plone.folder.interfaces.IOrdering>)
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/traversal.txt", line 104, in traversal.txt
Failed example:
'test_document' in self.portal.simple_btree_folder.objectIds()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest traversal.txt[line 104, example 15]>", line 1, in <module>
'test_document' in self.portal.simple_btree_folder.objectIds()
AttributeError: simple_btree_folder
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/traversal.txt", line 107, in traversal.txt
Failed example:
print http(r"""
POST /%s HTTP/1.0
Authorization: Basic %s:%s
Content-Type: text/xml
<?xml version='1.0'?>
<methodCall>
<methodName>simple_btree_folder.test_document.title_or_id</methodName>
<params>
</params>
</methodCall>
""" % (portal_name, user_name, user_password))
Expected:
HTTP/1.0 200 OK
...Root Document...
Got:
HTTP/1.0 404 Not Found
Content-Length: 750
Content-Type: text/html; charset=iso-8859-15
<BLANKLINE>
<h2>Site Error</h2>
<p>An error was encountered while publishing this resource.
</p>
<p><strong>Resource not found</strong></p>
<BLANKLINE>
Sorry, the requested resource does not exist.<p>Check the URL and try again.</p><p><b>Resource:</b> http://localhost/cmf/simple_btree_folder</p>
<hr noshade="noshade"/>
<BLANKLINE>
<p>Troubleshooting Suggestions</p>
<BLANKLINE>
<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>
<BLANKLINE>
<p>For more detailed information about the error, please
refer to the error log.
</p>
<BLANKLINE>
<p>If the error persists please contact the site maintainer.
Thank you for your patience.
</p>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/traversal.txt", line 162, in traversal.txt
Failed example:
'test_document' in self.portal.simple_btree_folder.objectIds()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest traversal.txt[line 162, example 24]>", line 1, in <module>
'test_document' in self.portal.simple_btree_folder.objectIds()
AttributeError: simple_btree_folder
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/traversal.txt", line 165, in traversal.txt
Failed example:
print http(r"""
GET /%s/simple_btree_folder/test_document/title_or_id HTTP/1.0
Authorization: Basic %s:%s
""" % (portal_name, user_name, user_password))
Expected:
HTTP/1.0 200 OK
...Root Document...
Got:
HTTP/1.0 404 Not Found
Content-Length: 3788
Content-Type: text/html; charset=utf-8
<BLANKLINE>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html>
<BLANKLINE>
<head>
<title>Portal Title</title>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<link rel="stylesheet" type="text/css" href="http://localhost/cmf/zpt_stylesheet.css" />
<BLANKLINE>
<BLANKLINE>
</head>
<BLANKLINE>
<body>
<BLANKLINE>
<div>
<BLANKLINE>
<!-- hack around netscape 4.x to ensure table is solid -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<BLANKLINE>
<!-- Top bar -->
<table id="Masthead" width="100%" cellpadding="0" cellspacing="0" border="0">
<BLANKLINE>
<tr>
<td id="PortalLogo">
<a href="http://localhost/cmf/"><img src="http://localhost/cmf/Zope_logo.gif" alt="Zope Logo" border="0" width="87" height="38" /></a>
</td>
<BLANKLINE>
<td id="PortalTitle">
<span>Portal Title</span>
</td>
<BLANKLINE>
<td id="NavBar">
<form action="http://localhost/cmf/search" method="get">
<a href="http://localhost/cmf/">[[cmf_default][home]]</a>
<BLANKLINE>
<a href="http://localhost/cmf/Members">[[cmf_default][members]]</a>
<BLANKLINE>
<a href="http://localhost/cmf/recent_news">[[cmf_default][news]]</a>
<a href="http://localhost/cmf/search_form">[[cmf_default][search]]</a>
<BLANKLINE>
<input name="SearchableText" size="16" />
<input type="image" name="go" value="go" src="http://localhost/cmf/go.gif" align="middle" />
</form>
</td>
</tr>
<BLANKLINE>
</table>
<!-- end topbar -->
<BLANKLINE>
</td>
</tr>
</table>
<!-- end NS4 hack -->
<BLANKLINE>
<!-- end top_bar-->
</div>
<BLANKLINE>
<div>
<BLANKLINE>
<!-- hack around netscape 4.x to ensure table is solid -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<BLANKLINE>
<!-- user_menu_bar -->
<table id="MemberActionsBox" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="ActionTitle">Guest</td>
<td class="ActionLink" align="right">
<BLANKLINE>
<a href="http://localhost/cmf/login_form" target="">[[cmf_default][Login]]</a> |
<BLANKLINE>
<a href="http://localhost/cmf/join_form" target="">[[cmf_default][Join]]</a>
</td>
</tr>
</table>
<!-- end user_menu_bar -->
<BLANKLINE>
</td>
</tr>
</table>
<!-- end NS4 hack -->
<BLANKLINE>
<!-- end user_menu_bar div-->
</div>
<BLANKLINE>
<div id="main_body">
<BLANKLINE>
<table class="Forematter" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="200px">
<BLANKLINE>
<!-- actions box -->
<table class="ContextActionsBox" width="100%" style="float: left;">
<BLANKLINE>
<!-- object actions -->
<tr class="ContextActionsRow">
<BLANKLINE>
<td class="ActionTitle">
<BLANKLINE>
<img src="http://localhost/cmf/cmf/folder_icon.gif" align="left" title="Type" alt="[[cmf_default][Folder]]" height="16" width="16" />
<BLANKLINE>
cmf
</td>
</tr>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<!-- workflow actions -->
<BLANKLINE>
<BLANKLINE>
<!-- folder actions -->
<BLANKLINE>
<BLANKLINE>
<!-- add actions -->
<BLANKLINE>
<BLANKLINE>
<!-- global actions -->
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
</table>
<!-- end actions_box -->
<BLANKLINE>
</td>
<BLANKLINE>
<td width="16px"> </td>
<BLANKLINE>
<td id="ForematterCell">
<div id="Desktop">
<BLANKLINE>
<p id="Breadcrumbs">
<span><a href="http://localhost/cmf">[[cmf_default][root]]</a>
</span>
</p>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<div> <h2>Site Error</h2>
<p>An error was encountered while publishing this resource.
</p>
<p><strong>Resource not found</strong></p>
<BLANKLINE>
Sorry, the requested resource does not exist.<p>Check the URL and try again.</p><p><b>Resource:</b> http://localhost/cmf/simple_btree_folder</p>
<hr noshade="noshade"/>
<BLANKLINE>
<p>Troubleshooting Suggestions</p>
<BLANKLINE>
<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>
<BLANKLINE>
<p>For more detailed information about the error, please
refer to the error log.
</p>
<BLANKLINE>
<p>If the error persists please contact the site maintainer.
Thank you for your patience.
</p></div>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
</div>
</td>
</tr>
</table>
<BLANKLINE>
</div>
<BLANKLINE>
</body>
</html>
<BLANKLINE>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/traversal.txt", line 184, in traversal.txt
Failed example:
print http(r"""
GET /%s/simple_btree_folder/test_document/document_view HTTP/1.0
Authorization: Basic %s:%s
""" % (portal_name, user_name, user_password))
Expected:
HTTP/1.0 200 OK
...SimpleView simple output...
Got:
HTTP/1.0 404 Not Found
Content-Length: 3788
Content-Type: text/html; charset=utf-8
<BLANKLINE>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html>
<BLANKLINE>
<head>
<title>Portal Title</title>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<link rel="stylesheet" type="text/css" href="http://localhost/cmf/zpt_stylesheet.css" />
<BLANKLINE>
<BLANKLINE>
</head>
<BLANKLINE>
<body>
<BLANKLINE>
<div>
<BLANKLINE>
<!-- hack around netscape 4.x to ensure table is solid -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<BLANKLINE>
<!-- Top bar -->
<table id="Masthead" width="100%" cellpadding="0" cellspacing="0" border="0">
<BLANKLINE>
<tr>
<td id="PortalLogo">
<a href="http://localhost/cmf/"><img src="http://localhost/cmf/Zope_logo.gif" alt="Zope Logo" border="0" width="87" height="38" /></a>
</td>
<BLANKLINE>
<td id="PortalTitle">
<span>Portal Title</span>
</td>
<BLANKLINE>
<td id="NavBar">
<form action="http://localhost/cmf/search" method="get">
<a href="http://localhost/cmf/">[[cmf_default][home]]</a>
<BLANKLINE>
<a href="http://localhost/cmf/Members">[[cmf_default][members]]</a>
<BLANKLINE>
<a href="http://localhost/cmf/recent_news">[[cmf_default][news]]</a>
<a href="http://localhost/cmf/search_form">[[cmf_default][search]]</a>
<BLANKLINE>
<input name="SearchableText" size="16" />
<input type="image" name="go" value="go" src="http://localhost/cmf/go.gif" align="middle" />
</form>
</td>
</tr>
<BLANKLINE>
</table>
<!-- end topbar -->
<BLANKLINE>
</td>
</tr>
</table>
<!-- end NS4 hack -->
<BLANKLINE>
<!-- end top_bar-->
</div>
<BLANKLINE>
<div>
<BLANKLINE>
<!-- hack around netscape 4.x to ensure table is solid -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<BLANKLINE>
<!-- user_menu_bar -->
<table id="MemberActionsBox" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="ActionTitle">Guest</td>
<td class="ActionLink" align="right">
<BLANKLINE>
<a href="http://localhost/cmf/login_form" target="">[[cmf_default][Login]]</a> |
<BLANKLINE>
<a href="http://localhost/cmf/join_form" target="">[[cmf_default][Join]]</a>
</td>
</tr>
</table>
<!-- end user_menu_bar -->
<BLANKLINE>
</td>
</tr>
</table>
<!-- end NS4 hack -->
<BLANKLINE>
<!-- end user_menu_bar div-->
</div>
<BLANKLINE>
<div id="main_body">
<BLANKLINE>
<table class="Forematter" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="200px">
<BLANKLINE>
<!-- actions box -->
<table class="ContextActionsBox" width="100%" style="float: left;">
<BLANKLINE>
<!-- object actions -->
<tr class="ContextActionsRow">
<BLANKLINE>
<td class="ActionTitle">
<BLANKLINE>
<img src="http://localhost/cmf/cmf/folder_icon.gif" align="left" title="Type" alt="[[cmf_default][Folder]]" height="16" width="16" />
<BLANKLINE>
cmf
</td>
</tr>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<!-- workflow actions -->
<BLANKLINE>
<BLANKLINE>
<!-- folder actions -->
<BLANKLINE>
<BLANKLINE>
<!-- add actions -->
<BLANKLINE>
<BLANKLINE>
<!-- global actions -->
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
</table>
<!-- end actions_box -->
<BLANKLINE>
</td>
<BLANKLINE>
<td width="16px"> </td>
<BLANKLINE>
<td id="ForematterCell">
<div id="Desktop">
<BLANKLINE>
<p id="Breadcrumbs">
<span><a href="http://localhost/cmf">[[cmf_default][root]]</a>
</span>
</p>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<div> <h2>Site Error</h2>
<p>An error was encountered while publishing this resource.
</p>
<p><strong>Resource not found</strong></p>
<BLANKLINE>
Sorry, the requested resource does not exist.<p>Check the URL and try again.</p><p><b>Resource:</b> http://localhost/cmf/simple_btree_folder</p>
<hr noshade="noshade"/>
<BLANKLINE>
<p>Troubleshooting Suggestions</p>
<BLANKLINE>
<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>
<BLANKLINE>
<p>For more detailed information about the error, please
refer to the error log.
</p>
<BLANKLINE>
<p>If the error persists please contact the site maintainer.
Thank you for your patience.
</p></div>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
</div>
</td>
</tr>
</table>
<BLANKLINE>
</div>
<BLANKLINE>
</body>
</html>
<BLANKLINE>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/traversal.txt", line 228, in traversal.txt
Failed example:
print http(r"""
PROPFIND /%s/simple_btree_folder/test_document HTTP/1.1
Authorization: Basic %s:%s
Content-Type: text/xml; charset="utf-8"
Depth: 0
<?xml version="1.0" encoding="utf-8"?>
<DAV:propfind xmlns:DAV="DAV:"
xmlns:zope="http://www.zope.org/propsets/default">
<DAV:prop><zope:title/></DAV:prop>
</DAV:propfind>
""" % (portal_name, user_name, user_password))
Expected:
HTTP/1.1 404 Not Found
...
Got:
HTTP/1.1 207 Multi-Status
Accept-Ranges: none
Connection: close
Content-Length: 338
Content-Type: text/xml; charset="utf-8"
Date: Sun, 18 Oct 2009 02:44:06 GMT
<BLANKLINE>
<?xml version="1.0" encoding="utf-8"?>
<d:multistatus xmlns:d="DAV:">
<d:response>
<d:href>/cmf/simple_btree_folder/test_document</d:href>
<d:propstat>
<d:prop>
<n:title xmlns:n="http://www.zope.org/propsets/default">Root Document</n:title>
</d:prop>
<d:status>HTTP/1.1 200 OK</d:status>
</d:propstat>
</d:response>
</d:multistatus>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/traversal.txt", line 284, in traversal.txt
Failed example:
print http(r"""
PUT /%s/simple_btree_folder/test_document HTTP/1.1
Authorization: Basic %s:%s
Content-Type: text/plain; charset="utf-8"
Depth: 0
BTree Folder Document Content
""" % (portal_name, user_name, user_password))
Expected:
HTTP/1.1 201 Created
...
Got:
HTTP/1.1 204 No Content
Accept-Ranges: none
Connection: close
Content-Length: 0
Date: Sun, 18 Oct 2009 02:44:06 GMT
<BLANKLINE>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/traversal.txt", line 295, in traversal.txt
Failed example:
folder = self.portal.simple_btree_folder
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest traversal.txt[line 295, example 49]>", line 1, in <module>
folder = self.portal.simple_btree_folder
AttributeError: simple_btree_folder
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/traversal.txt", line 302, in traversal.txt
Failed example:
print folder.test_document.body
Expected:
BTree Folder Document Content
<BLANKLINE>
Got:
Simple Folder Document Content
<BLANKLINE>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/traversal.txt", line 340, in traversal.txt
Failed example:
folder = self.portal.simple_btree_folder
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest traversal.txt[line 340, example 60]>", line 1, in <module>
folder = self.portal.simple_btree_folder
AttributeError: simple_btree_folder
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/traversal.txt", line 341, in traversal.txt
Failed example:
'index_html' in folder.objectIds()
Expected:
False
Got:
True
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/traversal.txt", line 344, in traversal.txt
Failed example:
print folder.index_html
Expected:
None
Got:
<DDocument at index_html>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/traversal.txt", line 347, in traversal.txt
Failed example:
print http(r"""
PUT /%s/simple_btree_folder/index_html HTTP/1.1
Authorization: Basic %s:%s
Content-Type: text/plain; charset="utf-8"
Depth: 0
Simple BTree Folder Index
""" % (portal_name, user_name, user_password))
Expected:
HTTP/1.1 201 Created
...
Got:
HTTP/1.1 404 Not Found
Accept-Ranges: none
Connection: close
Content-Length: 0
Content-Type: text/html; charset=utf-8
Date: Sun, 18 Oct 2009 02:44:06 GMT
<BLANKLINE>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/traversal.txt", line 364, in traversal.txt
Failed example:
print folder.index_html.body
Expected:
Simple BTree Folder Index
<BLANKLINE>
Got:
Simple Folder Index
<BLANKLINE>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/traversal.txt", line 391, in traversal.txt
Failed example:
print http(r"""
MKCOL /%s/simple_btree_folder/simple_btree_folder HTTP/1.1
Authorization: Basic %s:%s
""" % (portal_name, user_name, user_password))
Expected:
HTTP/1.1 201 Created
...
Got:
HTTP/1.1 409 Conflict
Content-Length: 4567
Content-Type: text/html; charset=utf-8
<BLANKLINE>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html>
<BLANKLINE>
<head>
<title>Portal Title</title>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<link rel="stylesheet" type="text/css" href="http://localhost/cmf/zpt_stylesheet.css" />
<BLANKLINE>
<BLANKLINE>
</head>
<BLANKLINE>
<body>
<BLANKLINE>
<div>
<BLANKLINE>
<!-- hack around netscape 4.x to ensure table is solid -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<BLANKLINE>
<!-- Top bar -->
<table id="Masthead" width="100%" cellpadding="0" cellspacing="0" border="0">
<BLANKLINE>
<tr>
<td id="PortalLogo">
<a href="http://localhost/cmf/"><img src="http://localhost/cmf/Zope_logo.gif" alt="Zope Logo" border="0" width="87" height="38" /></a>
</td>
<BLANKLINE>
<td id="PortalTitle">
<span>Portal Title</span>
</td>
<BLANKLINE>
<td id="NavBar">
<form action="http://localhost/cmf/search" method="get">
<a href="http://localhost/cmf/">[[cmf_default][home]]</a>
<BLANKLINE>
<a href="http://localhost/cmf/Members">[[cmf_default][members]]</a>
<BLANKLINE>
<a href="http://localhost/cmf/recent_news">[[cmf_default][news]]</a>
<a href="http://localhost/cmf/search_form">[[cmf_default][search]]</a>
<BLANKLINE>
<input name="SearchableText" size="16" />
<input type="image" name="go" value="go" src="http://localhost/cmf/go.gif" align="middle" />
</form>
</td>
</tr>
<BLANKLINE>
</table>
<!-- end topbar -->
<BLANKLINE>
</td>
</tr>
</table>
<!-- end NS4 hack -->
<BLANKLINE>
<!-- end top_bar-->
</div>
<BLANKLINE>
<div>
<BLANKLINE>
<!-- hack around netscape 4.x to ensure table is solid -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<BLANKLINE>
<!-- user_menu_bar -->
<table id="MemberActionsBox" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="ActionTitle">Guest</td>
<td class="ActionLink" align="right">
<BLANKLINE>
<a href="http://localhost/cmf/login_form" target="">[[cmf_default][Login]]</a> |
<BLANKLINE>
<a href="http://localhost/cmf/join_form" target="">[[cmf_default][Join]]</a>
</td>
</tr>
</table>
<!-- end user_menu_bar -->
<BLANKLINE>
</td>
</tr>
</table>
<!-- end NS4 hack -->
<BLANKLINE>
<!-- end user_menu_bar div-->
</div>
<BLANKLINE>
<div id="main_body">
<BLANKLINE>
<table class="Forematter" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="200px">
<BLANKLINE>
<!-- actions box -->
<table class="ContextActionsBox" width="100%" style="float: left;">
<BLANKLINE>
<!-- object actions -->
<tr class="ContextActionsRow">
<BLANKLINE>
<td class="ActionTitle">
<BLANKLINE>
<img src="http://localhost/cmf/cmf/folder_icon.gif" align="left" title="Type" alt="[[cmf_default][Folder]]" height="16" width="16" />
<BLANKLINE>
cmf
</td>
</tr>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<!-- workflow actions -->
<BLANKLINE>
<BLANKLINE>
<!-- folder actions -->
<BLANKLINE>
<BLANKLINE>
<!-- add actions -->
<BLANKLINE>
<BLANKLINE>
<!-- global actions -->
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
</table>
<!-- end actions_box -->
<BLANKLINE>
</td>
<BLANKLINE>
<td width="16px"> </td>
<BLANKLINE>
<td id="ForematterCell">
<div id="Desktop">
<BLANKLINE>
<p id="Breadcrumbs">
<span><a href="http://localhost/cmf">[[cmf_default][root]]</a>
</span>
</p>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<div>
<h2>[[cmf_default][Site Error]]</h2>
<BLANKLINE>
<p>[[cmf_default][An error was encountered while publishing this resource. (An error was encountered while publishing this
resource.)]]</p>
<BLANKLINE>
<p>
<strong>[[cmf_default][Error Type: Conflict (Error Type:
Conflict
)]]</strong>
<br />
<strong>[[cmf_default][Error Value: Collection ancestors must already exist. (Error Value:
Collection ancestors must already exist.
)]]</strong>
<br />
</p>
<BLANKLINE>
<hr noshade />
<BLANKLINE>
<p>[[cmf_default][Troubleshooting Suggestions]]</p>
<BLANKLINE>
<ul>
<BLANKLINE>
<li>[[cmf_default][The URL may be incorrect.]]</li>
<li>[[cmf_default][The parameters passed to this resource may be incorrect. (The parameters passed to this resource may be
incorrect.)]]</li>
<li>[[cmf_default][A resource that this resource relies on may be encountering an error. (A resource that this resource relies on may be
encountering an error.)]]</li>
</ul>
<BLANKLINE>
<p>[[cmf_default][For more detailed information about the error, please refer to the error log. (For more detailed information about the error, please
refer to the error log.
)]]</p>
<BLANKLINE>
<p>[[cmf_default][If the error persists please contact the site maintainer. Thank you for your patience. (If the error persists please contact the site
maintainer. Thank you for your patience.
)]]</p>
<BLANKLINE>
</div>
<BLANKLINE>
<div>
<hr noshade />
<a href="http://localhost/cmf/error_log/showEntry?id=1255833846.420.917995209051">[[cmf_default][Show Error Log Entry (
Show Error Log Entry
)]]</a>
</div>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
</div>
</td>
</tr>
</table>
<BLANKLINE>
</div>
<BLANKLINE>
</body>
</html>
<BLANKLINE>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/traversal.txt", line 398, in traversal.txt
Failed example:
folder = self.portal.simple_btree_folder.simple_btree_folder
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest traversal.txt[line 398, example 73]>", line 1, in <module>
folder = self.portal.simple_btree_folder.simple_btree_folder
AttributeError: simple_btree_folder
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/traversal.txt", line 399, in traversal.txt
Failed example:
print folder.getPortalTypeName()
Expected:
SimpleBTreeFolder
Got:
SimpleFolder
Failure in test /home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/reindex_sanity.txt
Failed doctest test for reindex_sanity.txt
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/reindex_sanity.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/reindex_sanity.txt", line 336, in reindex_sanity.txt
Failed example:
_ = self.folder.invokeFactory(type_name='SimpleBTreeFolder',
id='new_btree_folder1')
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest reindex_sanity.txt[line 336, example 44]>", line 2, in <module>
id='new_btree_folder1')
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/PortalFolder.py", line 295, in invokeFactory
return pt.constructContent(type_name, self, id, RESPONSE, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 815, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 293, in constructInstance
return self._constructInstance(container, id, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 534, in _constructInstance
newid = m(id, *args, **kw)
File "<string>", line 7, in addSimpleBTreeFolder
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/ObjectManager.py", line 344, in _setObject
notify(ObjectWillBeAddedEvent(ob, self, id))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.event-3.4.1-py2.6.egg/zope/event/__init__.py", line 23, in notify
subscriber(event)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/event.py", line 26, in dispatch
for ignored in zope.component.subscribers(event, None):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/_api.py", line 138, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/registry.py", line 323, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.interface-3.5.2-py2.6-linux-x86_64.egg/zope/interface/adapter.py", line 579, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/event.py", line 33, in objectEventNotify
adapters = zope.component.subscribers((event.object, event), None)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/_api.py", line 138, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/registry.py", line 323, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.interface-3.5.2-py2.6-linux-x86_64.egg/zope/interface/adapter.py", line 579, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py", line 107, in dispatchObjectWillBeMovedEvent
dispatchToSublocations(ob, event)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.container-3.8.2-py2.6-linux-x86_64.egg/zope/container/contained.py", line 147, in dispatchToSublocations
for sub in subs.sublocations():
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py", line 87, in sublocations
for ob in self.container.objectValues():
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/Products/BTreeFolder2/BTreeFolder2.py", line 370, in objectValues
return LazyMap(self._getOb, self.objectIds(spec))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/plone.folder/src/plone/folder/ordered.py", line 87, in objectIds
ordering = IOrdering(self)
TypeError: ('Could not adapt', <SimpleBTreeFolder at new_btree_folder1>, <InterfaceClass plone.folder.interfaces.IOrdering>)
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/reindex_sanity.txt", line 360, in reindex_sanity.txt
Failed example:
self.folder['new_btree_folder1'].Title()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest reindex_sanity.txt[line 360, example 45]>", line 1, in <module>
self.folder['new_btree_folder1'].Title()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/ObjectManager.py", line 781, in __getitem__
raise KeyError, key
KeyError: 'new_btree_folder1'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/reindex_sanity.txt", line 363, in reindex_sanity.txt
Failed example:
self.folder['new_btree_folder1'].Description()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest reindex_sanity.txt[line 363, example 46]>", line 1, in <module>
self.folder['new_btree_folder1'].Description()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/ObjectManager.py", line 781, in __getitem__
raise KeyError, key
KeyError: 'new_btree_folder1'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/reindex_sanity.txt", line 368, in reindex_sanity.txt
Failed example:
_ = self.folder.invokeFactory(type_name='SimpleBTreeFolder',
id='new_btree_folder2',
title='Title',
description='Description')
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest reindex_sanity.txt[line 368, example 47]>", line 4, in <module>
description='Description')
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/PortalFolder.py", line 295, in invokeFactory
return pt.constructContent(type_name, self, id, RESPONSE, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 815, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 293, in constructInstance
return self._constructInstance(container, id, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 534, in _constructInstance
newid = m(id, *args, **kw)
File "<string>", line 7, in addSimpleBTreeFolder
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/ObjectManager.py", line 344, in _setObject
notify(ObjectWillBeAddedEvent(ob, self, id))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.event-3.4.1-py2.6.egg/zope/event/__init__.py", line 23, in notify
subscriber(event)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/event.py", line 26, in dispatch
for ignored in zope.component.subscribers(event, None):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/_api.py", line 138, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/registry.py", line 323, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.interface-3.5.2-py2.6-linux-x86_64.egg/zope/interface/adapter.py", line 579, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/event.py", line 33, in objectEventNotify
adapters = zope.component.subscribers((event.object, event), None)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/_api.py", line 138, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/registry.py", line 323, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.interface-3.5.2-py2.6-linux-x86_64.egg/zope/interface/adapter.py", line 579, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py", line 107, in dispatchObjectWillBeMovedEvent
dispatchToSublocations(ob, event)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.container-3.8.2-py2.6-linux-x86_64.egg/zope/container/contained.py", line 147, in dispatchToSublocations
for sub in subs.sublocations():
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py", line 87, in sublocations
for ob in self.container.objectValues():
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/Products/BTreeFolder2/BTreeFolder2.py", line 370, in objectValues
return LazyMap(self._getOb, self.objectIds(spec))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/plone.folder/src/plone/folder/ordered.py", line 87, in objectIds
ordering = IOrdering(self)
TypeError: ('Could not adapt', <SimpleBTreeFolder at new_btree_folder2>, <InterfaceClass plone.folder.interfaces.IOrdering>)
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/reindex_sanity.txt", line 394, in reindex_sanity.txt
Failed example:
self.folder['new_btree_folder2'].Title()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest reindex_sanity.txt[line 394, example 48]>", line 1, in <module>
self.folder['new_btree_folder2'].Title()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/ObjectManager.py", line 781, in __getitem__
raise KeyError, key
KeyError: 'new_btree_folder2'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/reindex_sanity.txt", line 397, in reindex_sanity.txt
Failed example:
self.folder['new_btree_folder2'].Description()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest reindex_sanity.txt[line 397, example 49]>", line 1, in <module>
self.folder['new_btree_folder2'].Description()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/ObjectManager.py", line 781, in __getitem__
raise KeyError, key
KeyError: 'new_btree_folder2'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/reindex_sanity.txt", line 407, in reindex_sanity.txt
Failed example:
self.folder.manage_renameObjects(ids=['new_btree_folder1'],
new_ids=['new_btree_folder11'])
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest reindex_sanity.txt[line 407, example 51]>", line 2, in <module>
new_ids=['new_btree_folder11'])
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/CopySupport.py", line 334, in manage_renameObjects
self.manage_renameObject(ids[i], new_ids[i], REQUEST)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/OrderSupport.py", line 261, in manage_renameObject
old_position = self.getObjectPosition(id)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/OrderSupport.py", line 230, in getObjectPosition
raise ValueError('The object with the id "%s" does not exist.' % id)
ValueError: The object with the id "new_btree_folder1" does not exist.
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/reindex_sanity.txt", line 424, in reindex_sanity.txt
Failed example:
cp = self.folder.manage_copyObjects(ids=['new_btree_folder2'])
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest reindex_sanity.txt[line 424, example 52]>", line 1, in <module>
cp = self.folder.manage_copyObjects(ids=['new_btree_folder2'])
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/CopySupport.py", line 142, in manage_copyObjects
ob=self._getOb(id)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/ObjectManager.py", line 308, in _getOb
raise AttributeError, id
AttributeError: new_btree_folder2
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/reindex_sanity.txt", line 425, in reindex_sanity.txt
Failed example:
_ = self.folder.sub.manage_pasteObjects(cp)
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest reindex_sanity.txt[line 425, example 53]>", line 1, in <module>
_ = self.folder.sub.manage_pasteObjects(cp)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/CopySupport.py", line 207, in manage_pasteObjects
raise CopyError, eNotFound
CopyError:
<HTML>
<HEAD>
<TITLE>Item Not Found</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<FORM ACTION="manage_main" METHOD="GET" >
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="10">
<TR>
<TD VALIGN="TOP">
<BR>
<CENTER><B><FONT SIZE="+6" COLOR="#77003B">!</FONT></B></CENTER>
</TD>
<TD VALIGN="TOP">
<BR><BR>
<CENTER>
One or more items referred to in the clipboard data was not found. The item may have been moved or deleted after you copied it.
</CENTER>
</TD>
</TR>
<TR>
<TD VALIGN="TOP">
</TD>
<TD VALIGN="TOP">
<CENTER>
<INPUT TYPE="SUBMIT" VALUE=" Ok ">
</CENTER>
</TD>
</TR>
</TABLE>
</FORM>
</BODY></HTML>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/reindex_sanity.txt", line 438, in reindex_sanity.txt
Failed example:
cp = self.folder.manage_cutObjects(ids=['new_btree_folder11'])
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest reindex_sanity.txt[line 438, example 54]>", line 1, in <module>
cp = self.folder.manage_cutObjects(ids=['new_btree_folder11'])
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/CopySupport.py", line 112, in manage_cutObjects
ob=self._getOb(id)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/ObjectManager.py", line 308, in _getOb
raise AttributeError, id
AttributeError: new_btree_folder11
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/reindex_sanity.txt", line 439, in reindex_sanity.txt
Failed example:
_ = self.folder.sub.manage_pasteObjects(cp)
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest reindex_sanity.txt[line 439, example 55]>", line 1, in <module>
_ = self.folder.sub.manage_pasteObjects(cp)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/CopySupport.py", line 207, in manage_pasteObjects
raise CopyError, eNotFound
CopyError:
<HTML>
<HEAD>
<TITLE>Item Not Found</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<FORM ACTION="manage_main" METHOD="GET" >
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="10">
<TR>
<TD VALIGN="TOP">
<BR>
<CENTER><B><FONT SIZE="+6" COLOR="#77003B">!</FONT></B></CENTER>
</TD>
<TD VALIGN="TOP">
<BR><BR>
<CENTER>
One or more items referred to in the clipboard data was not found. The item may have been moved or deleted after you copied it.
</CENTER>
</TD>
</TR>
<TR>
<TD VALIGN="TOP">
</TD>
<TD VALIGN="TOP">
<CENTER>
<INPUT TYPE="SUBMIT" VALUE=" Ok ">
</CENTER>
</TD>
</TR>
</TABLE>
</FORM>
</BODY></HTML>
Error in test test_UIDunderContainment (Products.Archetypes.tests.test_referenceable.SimpleBTreeFolderReferenceableTests)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_referenceable.py", line 422, in test_UIDunderContainment
title='Foo', id='folder')
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/utils.py", line 85, in makeContent
container.invokeFactory( type_name=portal_type, id=id )
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/PortalFolder.py", line 295, in invokeFactory
return pt.constructContent(type_name, self, id, RESPONSE, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 815, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 293, in constructInstance
return self._constructInstance(container, id, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 534, in _constructInstance
newid = m(id, *args, **kw)
File "<string>", line 7, in addSimpleBTreeFolder
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/ObjectManager.py", line 344, in _setObject
notify(ObjectWillBeAddedEvent(ob, self, id))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.event-3.4.1-py2.6.egg/zope/event/__init__.py", line 23, in notify
subscriber(event)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/event.py", line 26, in dispatch
for ignored in zope.component.subscribers(event, None):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/_api.py", line 138, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/registry.py", line 323, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.interface-3.5.2-py2.6-linux-x86_64.egg/zope/interface/adapter.py", line 579, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/event.py", line 33, in objectEventNotify
adapters = zope.component.subscribers((event.object, event), None)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/_api.py", line 138, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/registry.py", line 323, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.interface-3.5.2-py2.6-linux-x86_64.egg/zope/interface/adapter.py", line 579, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py", line 107, in dispatchObjectWillBeMovedEvent
dispatchToSublocations(ob, event)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.container-3.8.2-py2.6-linux-x86_64.egg/zope/container/contained.py", line 147, in dispatchToSublocations
for sub in subs.sublocations():
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py", line 87, in sublocations
for ob in self.container.objectValues():
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/Products/BTreeFolder2/BTreeFolder2.py", line 370, in objectValues
return LazyMap(self._getOb, self.objectIds(spec))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/plone.folder/src/plone/folder/ordered.py", line 87, in objectIds
ordering = IOrdering(self)
TypeError: ('Could not adapt', <SimpleBTreeFolder at folder>, <InterfaceClass plone.folder.interfaces.IOrdering>)
Error in test test_copyKeepsReferences (Products.Archetypes.tests.test_referenceable.SimpleBTreeFolderReferenceableTests)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_referenceable.py", line 578, in test_copyKeepsReferences
id='org_folder')
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/utils.py", line 85, in makeContent
container.invokeFactory( type_name=portal_type, id=id )
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/PortalFolder.py", line 295, in invokeFactory
return pt.constructContent(type_name, self, id, RESPONSE, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 815, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 293, in constructInstance
return self._constructInstance(container, id, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 534, in _constructInstance
newid = m(id, *args, **kw)
File "<string>", line 7, in addSimpleBTreeFolder
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/ObjectManager.py", line 344, in _setObject
notify(ObjectWillBeAddedEvent(ob, self, id))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.event-3.4.1-py2.6.egg/zope/event/__init__.py", line 23, in notify
subscriber(event)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/event.py", line 26, in dispatch
for ignored in zope.component.subscribers(event, None):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/_api.py", line 138, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/registry.py", line 323, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.interface-3.5.2-py2.6-linux-x86_64.egg/zope/interface/adapter.py", line 579, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/event.py", line 33, in objectEventNotify
adapters = zope.component.subscribers((event.object, event), None)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/_api.py", line 138, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/registry.py", line 323, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.interface-3.5.2-py2.6-linux-x86_64.egg/zope/interface/adapter.py", line 579, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py", line 107, in dispatchObjectWillBeMovedEvent
dispatchToSublocations(ob, event)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.container-3.8.2-py2.6-linux-x86_64.egg/zope/container/contained.py", line 147, in dispatchToSublocations
for sub in subs.sublocations():
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py", line 87, in sublocations
for ob in self.container.objectValues():
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/Products/BTreeFolder2/BTreeFolder2.py", line 370, in objectValues
return LazyMap(self._getOb, self.objectIds(spec))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/plone.folder/src/plone/folder/ordered.py", line 87, in objectIds
ordering = IOrdering(self)
TypeError: ('Could not adapt', <SimpleBTreeFolder at org_folder>, <InterfaceClass plone.folder.interfaces.IOrdering>)
Error in test test_copyPasteSupport (Products.Archetypes.tests.test_referenceable.SimpleBTreeFolderReferenceableTests)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_referenceable.py", line 617, in test_copyPasteSupport
id='org_folder')
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/utils.py", line 85, in makeContent
container.invokeFactory( type_name=portal_type, id=id )
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/PortalFolder.py", line 295, in invokeFactory
return pt.constructContent(type_name, self, id, RESPONSE, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 815, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 293, in constructInstance
return self._constructInstance(container, id, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 534, in _constructInstance
newid = m(id, *args, **kw)
File "<string>", line 7, in addSimpleBTreeFolder
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/ObjectManager.py", line 344, in _setObject
notify(ObjectWillBeAddedEvent(ob, self, id))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.event-3.4.1-py2.6.egg/zope/event/__init__.py", line 23, in notify
subscriber(event)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/event.py", line 26, in dispatch
for ignored in zope.component.subscribers(event, None):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/_api.py", line 138, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/registry.py", line 323, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.interface-3.5.2-py2.6-linux-x86_64.egg/zope/interface/adapter.py", line 579, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/event.py", line 33, in objectEventNotify
adapters = zope.component.subscribers((event.object, event), None)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/_api.py", line 138, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/registry.py", line 323, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.interface-3.5.2-py2.6-linux-x86_64.egg/zope/interface/adapter.py", line 579, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py", line 107, in dispatchObjectWillBeMovedEvent
dispatchToSublocations(ob, event)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.container-3.8.2-py2.6-linux-x86_64.egg/zope/container/contained.py", line 147, in dispatchToSublocations
for sub in subs.sublocations():
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py", line 87, in sublocations
for ob in self.container.objectValues():
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/Products/BTreeFolder2/BTreeFolder2.py", line 370, in objectValues
return LazyMap(self._getOb, self.objectIds(spec))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/plone.folder/src/plone/folder/ordered.py", line 87, in objectIds
ordering = IOrdering(self)
TypeError: ('Could not adapt', <SimpleBTreeFolder at org_folder>, <InterfaceClass plone.folder.interfaces.IOrdering>)
Error in test test_cutPasteSupport (Products.Archetypes.tests.test_referenceable.SimpleBTreeFolderReferenceableTests)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_referenceable.py", line 654, in test_cutPasteSupport
id='org_folder')
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/utils.py", line 85, in makeContent
container.invokeFactory( type_name=portal_type, id=id )
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/PortalFolder.py", line 295, in invokeFactory
return pt.constructContent(type_name, self, id, RESPONSE, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 815, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 293, in constructInstance
return self._constructInstance(container, id, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 534, in _constructInstance
newid = m(id, *args, **kw)
File "<string>", line 7, in addSimpleBTreeFolder
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/ObjectManager.py", line 344, in _setObject
notify(ObjectWillBeAddedEvent(ob, self, id))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.event-3.4.1-py2.6.egg/zope/event/__init__.py", line 23, in notify
subscriber(event)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/event.py", line 26, in dispatch
for ignored in zope.component.subscribers(event, None):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/_api.py", line 138, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/registry.py", line 323, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.interface-3.5.2-py2.6-linux-x86_64.egg/zope/interface/adapter.py", line 579, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/event.py", line 33, in objectEventNotify
adapters = zope.component.subscribers((event.object, event), None)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/_api.py", line 138, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/registry.py", line 323, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.interface-3.5.2-py2.6-linux-x86_64.egg/zope/interface/adapter.py", line 579, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py", line 107, in dispatchObjectWillBeMovedEvent
dispatchToSublocations(ob, event)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.container-3.8.2-py2.6-linux-x86_64.egg/zope/container/contained.py", line 147, in dispatchToSublocations
for sub in subs.sublocations():
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py", line 87, in sublocations
for ob in self.container.objectValues():
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/Products/BTreeFolder2/BTreeFolder2.py", line 370, in objectValues
return LazyMap(self._getOb, self.objectIds(spec))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/plone.folder/src/plone/folder/ordered.py", line 87, in objectIds
ordering = IOrdering(self)
TypeError: ('Could not adapt', <SimpleBTreeFolder at org_folder>, <InterfaceClass plone.folder.interfaces.IOrdering>)
Error in test test_folderCopyPasteSupport (Products.Archetypes.tests.test_referenceable.SimpleBTreeFolderReferenceableTests)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_referenceable.py", line 677, in test_folderCopyPasteSupport
id='org_folder')
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/utils.py", line 85, in makeContent
container.invokeFactory( type_name=portal_type, id=id )
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/PortalFolder.py", line 295, in invokeFactory
return pt.constructContent(type_name, self, id, RESPONSE, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 815, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 293, in constructInstance
return self._constructInstance(container, id, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 534, in _constructInstance
newid = m(id, *args, **kw)
File "<string>", line 7, in addSimpleBTreeFolder
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/ObjectManager.py", line 344, in _setObject
notify(ObjectWillBeAddedEvent(ob, self, id))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.event-3.4.1-py2.6.egg/zope/event/__init__.py", line 23, in notify
subscriber(event)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/event.py", line 26, in dispatch
for ignored in zope.component.subscribers(event, None):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/_api.py", line 138, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/registry.py", line 323, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.interface-3.5.2-py2.6-linux-x86_64.egg/zope/interface/adapter.py", line 579, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/event.py", line 33, in objectEventNotify
adapters = zope.component.subscribers((event.object, event), None)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/_api.py", line 138, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/registry.py", line 323, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.interface-3.5.2-py2.6-linux-x86_64.egg/zope/interface/adapter.py", line 579, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py", line 107, in dispatchObjectWillBeMovedEvent
dispatchToSublocations(ob, event)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.container-3.8.2-py2.6-linux-x86_64.egg/zope/container/contained.py", line 147, in dispatchToSublocations
for sub in subs.sublocations():
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py", line 87, in sublocations
for ob in self.container.objectValues():
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/Products/BTreeFolder2/BTreeFolder2.py", line 370, in objectValues
return LazyMap(self._getOb, self.objectIds(spec))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/plone.folder/src/plone/folder/ordered.py", line 87, in objectIds
ordering = IOrdering(self)
TypeError: ('Could not adapt', <SimpleBTreeFolder at org_folder>, <InterfaceClass plone.folder.interfaces.IOrdering>)
Error in test test_folderCutPasteSupport (Products.Archetypes.tests.test_referenceable.SimpleBTreeFolderReferenceableTests)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_referenceable.py", line 719, in test_folderCutPasteSupport
id='org_folder')
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/utils.py", line 85, in makeContent
container.invokeFactory( type_name=portal_type, id=id )
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/PortalFolder.py", line 295, in invokeFactory
return pt.constructContent(type_name, self, id, RESPONSE, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 815, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 293, in constructInstance
return self._constructInstance(container, id, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 534, in _constructInstance
newid = m(id, *args, **kw)
File "<string>", line 7, in addSimpleBTreeFolder
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/ObjectManager.py", line 344, in _setObject
notify(ObjectWillBeAddedEvent(ob, self, id))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.event-3.4.1-py2.6.egg/zope/event/__init__.py", line 23, in notify
subscriber(event)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/event.py", line 26, in dispatch
for ignored in zope.component.subscribers(event, None):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/_api.py", line 138, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/registry.py", line 323, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.interface-3.5.2-py2.6-linux-x86_64.egg/zope/interface/adapter.py", line 579, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/event.py", line 33, in objectEventNotify
adapters = zope.component.subscribers((event.object, event), None)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/_api.py", line 138, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/registry.py", line 323, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.interface-3.5.2-py2.6-linux-x86_64.egg/zope/interface/adapter.py", line 579, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py", line 107, in dispatchObjectWillBeMovedEvent
dispatchToSublocations(ob, event)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.container-3.8.2-py2.6-linux-x86_64.egg/zope/container/contained.py", line 147, in dispatchToSublocations
for sub in subs.sublocations():
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py", line 87, in sublocations
for ob in self.container.objectValues():
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/Products/BTreeFolder2/BTreeFolder2.py", line 370, in objectValues
return LazyMap(self._getOb, self.objectIds(spec))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/plone.folder/src/plone/folder/ordered.py", line 87, in objectIds
ordering = IOrdering(self)
TypeError: ('Could not adapt', <SimpleBTreeFolder at org_folder>, <InterfaceClass plone.folder.interfaces.IOrdering>)
Error in test test_renameKeepsReferences (Products.Archetypes.tests.test_referenceable.SimpleBTreeFolderReferenceableTests)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_referenceable.py", line 91, in test_renameKeepsReferences
id='container')
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/utils.py", line 85, in makeContent
container.invokeFactory( type_name=portal_type, id=id )
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/PortalFolder.py", line 295, in invokeFactory
return pt.constructContent(type_name, self, id, RESPONSE, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 815, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 293, in constructInstance
return self._constructInstance(container, id, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 534, in _constructInstance
newid = m(id, *args, **kw)
File "<string>", line 7, in addSimpleBTreeFolder
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/ObjectManager.py", line 344, in _setObject
notify(ObjectWillBeAddedEvent(ob, self, id))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.event-3.4.1-py2.6.egg/zope/event/__init__.py", line 23, in notify
subscriber(event)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/event.py", line 26, in dispatch
for ignored in zope.component.subscribers(event, None):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/_api.py", line 138, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/registry.py", line 323, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.interface-3.5.2-py2.6-linux-x86_64.egg/zope/interface/adapter.py", line 579, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/event.py", line 33, in objectEventNotify
adapters = zope.component.subscribers((event.object, event), None)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/_api.py", line 138, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/registry.py", line 323, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.interface-3.5.2-py2.6-linux-x86_64.egg/zope/interface/adapter.py", line 579, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py", line 107, in dispatchObjectWillBeMovedEvent
dispatchToSublocations(ob, event)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.container-3.8.2-py2.6-linux-x86_64.egg/zope/container/contained.py", line 147, in dispatchToSublocations
for sub in subs.sublocations():
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py", line 87, in sublocations
for ob in self.container.objectValues():
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/Products/BTreeFolder2/BTreeFolder2.py", line 370, in objectValues
return LazyMap(self._getOb, self.objectIds(spec))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/plone.folder/src/plone/folder/ordered.py", line 87, in objectIds
ordering = IOrdering(self)
TypeError: ('Could not adapt', <SimpleBTreeFolder at container>, <InterfaceClass plone.folder.interfaces.IOrdering>)
Error in test test_renamecontainerKeepsReferences (Products.Archetypes.tests.test_referenceable.SimpleBTreeFolderReferenceableTests)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_referenceable.py", line 128, in test_renamecontainerKeepsReferences
id='container')
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/utils.py", line 85, in makeContent
container.invokeFactory( type_name=portal_type, id=id )
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/PortalFolder.py", line 295, in invokeFactory
return pt.constructContent(type_name, self, id, RESPONSE, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 815, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 293, in constructInstance
return self._constructInstance(container, id, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 534, in _constructInstance
newid = m(id, *args, **kw)
File "<string>", line 7, in addSimpleBTreeFolder
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/ObjectManager.py", line 344, in _setObject
notify(ObjectWillBeAddedEvent(ob, self, id))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.event-3.4.1-py2.6.egg/zope/event/__init__.py", line 23, in notify
subscriber(event)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/event.py", line 26, in dispatch
for ignored in zope.component.subscribers(event, None):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/_api.py", line 138, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/registry.py", line 323, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.interface-3.5.2-py2.6-linux-x86_64.egg/zope/interface/adapter.py", line 579, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/event.py", line 33, in objectEventNotify
adapters = zope.component.subscribers((event.object, event), None)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/_api.py", line 138, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/registry.py", line 323, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.interface-3.5.2-py2.6-linux-x86_64.egg/zope/interface/adapter.py", line 579, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py", line 107, in dispatchObjectWillBeMovedEvent
dispatchToSublocations(ob, event)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.container-3.8.2-py2.6-linux-x86_64.egg/zope/container/contained.py", line 147, in dispatchToSublocations
for sub in subs.sublocations():
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py", line 87, in sublocations
for ob in self.container.objectValues():
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/Products/BTreeFolder2/BTreeFolder2.py", line 370, in objectValues
return LazyMap(self._getOb, self.objectIds(spec))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/plone.folder/src/plone/folder/ordered.py", line 87, in objectIds
ordering = IOrdering(self)
TypeError: ('Could not adapt', <SimpleBTreeFolder at container>, <InterfaceClass plone.folder.interfaces.IOrdering>)
Error in test test_renamecontainerKeepsReferences2 (Products.Archetypes.tests.test_referenceable.SimpleBTreeFolderReferenceableTests)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_referenceable.py", line 161, in test_renamecontainerKeepsReferences2
id='folderA')
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/utils.py", line 85, in makeContent
container.invokeFactory( type_name=portal_type, id=id )
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/PortalFolder.py", line 295, in invokeFactory
return pt.constructContent(type_name, self, id, RESPONSE, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 815, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 293, in constructInstance
return self._constructInstance(container, id, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/TypesTool.py", line 534, in _constructInstance
newid = m(id, *args, **kw)
File "<string>", line 7, in addSimpleBTreeFolder
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/ObjectManager.py", line 344, in _setObject
notify(ObjectWillBeAddedEvent(ob, self, id))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.event-3.4.1-py2.6.egg/zope/event/__init__.py", line 23, in notify
subscriber(event)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/event.py", line 26, in dispatch
for ignored in zope.component.subscribers(event, None):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/_api.py", line 138, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/registry.py", line 323, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.interface-3.5.2-py2.6-linux-x86_64.egg/zope/interface/adapter.py", line 579, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/event.py", line 33, in objectEventNotify
adapters = zope.component.subscribers((event.object, event), None)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/_api.py", line 138, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.component-3.7.1-py2.6.egg/zope/component/registry.py", line 323, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.interface-3.5.2-py2.6-linux-x86_64.egg/zope/interface/adapter.py", line 579, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py", line 107, in dispatchObjectWillBeMovedEvent
dispatchToSublocations(ob, event)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.container-3.8.2-py2.6-linux-x86_64.egg/zope/container/contained.py", line 147, in dispatchToSublocations
for sub in subs.sublocations():
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py", line 87, in sublocations
for ob in self.container.objectValues():
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/Products/BTreeFolder2/BTreeFolder2.py", line 370, in objectValues
return LazyMap(self._getOb, self.objectIds(spec))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/plone.folder/src/plone/folder/ordered.py", line 87, in objectIds
ordering = IOrdering(self)
TypeError: ('Could not adapt', <SimpleBTreeFolder at folderA>, <InterfaceClass plone.folder.interfaces.IOrdering>)
Ran 509 tests with 5 failures and 9 errors in 40.180 seconds.
Running Products.CMFTestCase.layer.ZCML tests:
Tear down Products.Archetypes.tests.layer.ArchetypesSite in 0.067 seconds.
Tear down Products.Archetypes.tests.layer.ZCML in 0.004 seconds.
Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.000 seconds.
Set up Products.CMFTestCase.layer.ZCML in 1.814 seconds.
Ran 20 tests with 0 failures and 0 errors in 0.108 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
Tear down Products.CMFTestCase.layer.ZCML in 0.002 seconds.
Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/ClassGen.py:152: UserWarning: The method 'makeFoo' was already protected by a different permission than the one declared on the field. Assuming that the explicit permission declared is the correct one and has preference over the permission declared on the field.
self.handle_mode(klass, generator, type, field, mode)
/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/docutils-0.5-py2.6.egg/docutils/parsers/rst/__init__.py:178: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
self.message = message
/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/docutils-0.5-py2.6.egg/docutils/parsers/rst/states.py:2046: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
directive_error.message)
Ran 24 tests with 0 failures and 0 errors in 0.199 seconds.
Tearing down left over layers:
Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 592 tests, 5 failures, 9 errors in 46.820 seconds.
FAILED (failures=5, errors=9)
More information about the Testbot
mailing list