Hi there,

while forward-porting the fix for http://www.zope.org/Collectors/CMF/459 from 1.6 to 2.0, I was running the tests for CMFCore 2.0 and was getting tons of failures with a straight checkout (see attached file). Is there anythign I'm missing?

Philipp


--
http://worldcookery.com -- Professional Zope documentation and training
2nd edition of Web Component Development with Zope 3 is now shipping!
$ bin/zopectl test -s Products.CMFCore
Running tests via: /opt/local/bin/python /usr/local/Zope-2.9.6/bin/test.py -v 
--config-file .../etc/zope.conf -s Products.CMFCore
Parsing .../etc/zope.conf
Running tests at level 1
Running unit tests:
  Running:
............................

Error in test test_normal 
(Products.CMFCore.exportimport.tests.test_catalog.exportCatalogToolTests)
Traceback (most recent call last):
  File "/usr/local/Zope-2.9.6/lib/python/Testing/ZopeTestCase/profiler.py", 
line 86, in __call__
    self.setUp()
  File ".../Products/CMFCore/exportimport/tests/test_catalog.py", line 110, in 
setUp
    Products.GenericSetup.PluginIndexes)
AttributeError: 'module' object has no attribute 'PluginIndexes'

.

Error in test test_unchanged 
(Products.CMFCore.exportimport.tests.test_catalog.exportCatalogToolTests)
Traceback (most recent call last):
  File "/usr/local/Zope-2.9.6/lib/python/Testing/ZopeTestCase/profiler.py", 
line 86, in __call__
    self.setUp()
  File ".../Products/CMFCore/exportimport/tests/test_catalog.py", line 110, in 
setUp
    Products.GenericSetup.PluginIndexes)
AttributeError: 'module' object has no attribute 'PluginIndexes'

.

Error in test test_empty_purge 
(Products.CMFCore.exportimport.tests.test_catalog.importCatalogToolTests)
Traceback (most recent call last):
  File "/usr/local/Zope-2.9.6/lib/python/Testing/ZopeTestCase/profiler.py", 
line 86, in __call__
    self.setUp()
  File ".../Products/CMFCore/exportimport/tests/test_catalog.py", line 110, in 
setUp
    Products.GenericSetup.PluginIndexes)
AttributeError: 'module' object has no attribute 'PluginIndexes'

.

Error in test test_empty_update 
(Products.CMFCore.exportimport.tests.test_catalog.importCatalogToolTests)
Traceback (most recent call last):
  File "/usr/local/Zope-2.9.6/lib/python/Testing/ZopeTestCase/profiler.py", 
line 86, in __call__
    self.setUp()
  File ".../Products/CMFCore/exportimport/tests/test_catalog.py", line 110, in 
setUp
    Products.GenericSetup.PluginIndexes)
AttributeError: 'module' object has no attribute 'PluginIndexes'

.

Error in test test_normal_purge 
(Products.CMFCore.exportimport.tests.test_catalog.importCatalogToolTests)
Traceback (most recent call last):
  File "/usr/local/Zope-2.9.6/lib/python/Testing/ZopeTestCase/profiler.py", 
line 86, in __call__
    self.setUp()
  File ".../Products/CMFCore/exportimport/tests/test_catalog.py", line 110, in 
setUp
    Products.GenericSetup.PluginIndexes)
AttributeError: 'module' object has no attribute 'PluginIndexes'

.

Error in test test_normal_update 
(Products.CMFCore.exportimport.tests.test_catalog.importCatalogToolTests)
Traceback (most recent call last):
  File "/usr/local/Zope-2.9.6/lib/python/Testing/ZopeTestCase/profiler.py", 
line 86, in __call__
    self.setUp()
  File ".../Products/CMFCore/exportimport/tests/test_catalog.py", line 110, in 
setUp
    Products.GenericSetup.PluginIndexes)
AttributeError: 'module' object has no attribute 'PluginIndexes'

.....................2006-12-07 23:06:41 WARNING ZODB.DB DB.open() has 8 open 
connections with a pool_size of 7
.........................

Error in test test_body_set 
(Products.CMFCore.exportimport.tests.test_skins.SkinsToolXMLAdapterTests)
Traceback (most recent call last):
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/unittest.py",
 line 260, in run
    testMethod()
  File ".../Products/GenericSetup/testing.py", line 98, in test_body_set
    adapted.body = self._BODY
  File ".../Products/GenericSetup/utils.py", line 515, in _importBody
    self._importNode(dom.documentElement)
  File ".../Products/CMFCore/exportimport/skins.py", line 106, in _importNode
    self._initObjects(node)
  File ".../Products/GenericSetup/utils.py", line 574, in _initObjects
    raise ValueError("unknown meta_type '%s'" % meta_type)
ValueError: unknown meta_type 'Filesystem Directory View'

.......

Error in test test_fragment3_skip_purge 
(Products.CMFCore.exportimport.tests.test_skins.importSkinsToolTests)
Traceback (most recent call last):
  File "/usr/local/Zope-2.9.6/lib/python/Testing/ZopeTestCase/profiler.py", 
line 98, in __call__
    testMethod()
  File ".../Products/CMFCore/exportimport/tests/test_skins.py", line 557, in 
test_fragment3_skip_purge
    importSkinsTool(context)
  File ".../Products/CMFCore/exportimport/skins.py", line 213, in 
importSkinsTool
    importObjects(tool, '', context)
  File ".../Products/GenericSetup/utils.py", line 754, in importObjects
    importer.body = body
  File ".../Products/GenericSetup/utils.py", line 515, in _importBody
    self._importNode(dom.documentElement)
  File ".../Products/CMFCore/exportimport/skins.py", line 106, in _importNode
    self._initObjects(node)
  File ".../Products/GenericSetup/utils.py", line 574, in _initObjects
    raise ValueError("unknown meta_type '%s'" % meta_type)
ValueError: unknown meta_type 'Filesystem Directory View'

.

Error in test test_fragment4_removal 
(Products.CMFCore.exportimport.tests.test_skins.importSkinsToolTests)
Traceback (most recent call last):
  File "/usr/local/Zope-2.9.6/lib/python/Testing/ZopeTestCase/profiler.py", 
line 98, in __call__
    testMethod()
  File ".../Products/CMFCore/exportimport/tests/test_skins.py", line 588, in 
test_fragment4_removal
    importSkinsTool(context)
  File ".../Products/CMFCore/exportimport/skins.py", line 213, in 
importSkinsTool
    importObjects(tool, '', context)
  File ".../Products/GenericSetup/utils.py", line 754, in importObjects
    importer.body = body
  File ".../Products/GenericSetup/utils.py", line 515, in _importBody
    self._importNode(dom.documentElement)
  File ".../Products/CMFCore/exportimport/skins.py", line 106, in _importNode
    self._initObjects(node)
  File ".../Products/GenericSetup/utils.py", line 574, in _initObjects
    raise ValueError("unknown meta_type '%s'" % meta_type)
ValueError: unknown meta_type 'Filesystem Directory View'

.

Error in test test_fragment_skip_purge 
(Products.CMFCore.exportimport.tests.test_skins.importSkinsToolTests)
Traceback (most recent call last):
  File "/usr/local/Zope-2.9.6/lib/python/Testing/ZopeTestCase/profiler.py", 
line 98, in __call__
    testMethod()
  File ".../Products/CMFCore/exportimport/tests/test_skins.py", line 512, in 
test_fragment_skip_purge
    importSkinsTool(context)
  File ".../Products/CMFCore/exportimport/skins.py", line 213, in 
importSkinsTool
    importObjects(tool, '', context)
  File ".../Products/GenericSetup/utils.py", line 754, in importObjects
    importer.body = body
  File ".../Products/GenericSetup/utils.py", line 515, in _importBody
    self._importNode(dom.documentElement)
  File ".../Products/CMFCore/exportimport/skins.py", line 106, in _importNode
    self._initObjects(node)
  File ".../Products/GenericSetup/utils.py", line 574, in _initObjects
    raise ValueError("unknown meta_type '%s'" % meta_type)
ValueError: unknown meta_type 'Filesystem Directory View'

.

Error in test test_normal 
(Products.CMFCore.exportimport.tests.test_skins.importSkinsToolTests)
Traceback (most recent call last):
  File "/usr/local/Zope-2.9.6/lib/python/Testing/ZopeTestCase/profiler.py", 
line 98, in __call__
    testMethod()
  File ".../Products/CMFCore/exportimport/tests/test_skins.py", line 484, in 
test_normal
    importSkinsTool(context)
  File ".../Products/CMFCore/exportimport/skins.py", line 213, in 
importSkinsTool
    importObjects(tool, '', context)
  File ".../Products/GenericSetup/utils.py", line 754, in importObjects
    importer.body = body
  File ".../Products/GenericSetup/utils.py", line 515, in _importBody
    self._importNode(dom.documentElement)
  File ".../Products/CMFCore/exportimport/skins.py", line 106, in _importNode
    self._initObjects(node)
  File ".../Products/GenericSetup/utils.py", line 574, in _initObjects
    raise ValueError("unknown meta_type '%s'" % meta_type)
ValueError: unknown meta_type 'Filesystem Directory View'

.......

Error in test test_normal 
(Products.CMFCore.exportimport.tests.test_skins.importSkinsToolV1Tests)
Traceback (most recent call last):
  File "/usr/local/Zope-2.9.6/lib/python/Testing/ZopeTestCase/profiler.py", 
line 98, in __call__
    testMethod()
  File ".../Products/CMFCore/exportimport/tests/test_skins.py", line 484, in 
test_normal
    importSkinsTool(context)
  File ".../Products/CMFCore/exportimport/skins.py", line 213, in 
importSkinsTool
    importObjects(tool, '', context)
  File ".../Products/GenericSetup/utils.py", line 754, in importObjects
    importer.body = body
  File ".../Products/GenericSetup/utils.py", line 515, in _importBody
    self._importNode(dom.documentElement)
  File ".../Products/CMFCore/exportimport/skins.py", line 106, in _importNode
    self._initObjects(node)
  File ".../Products/GenericSetup/utils.py", line 574, in _initObjects
    raise ValueError("unknown meta_type '%s'" % meta_type)
ValueError: unknown meta_type 'Filesystem Directory View'

..................................................................................

Error in test test___module_aliases__ 
(Products.CMFCore.tests.test_CMFBTreeFolder.CMFBTreeFolderTests)
Traceback (most recent call last):
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/unittest.py",
 line 260, in run
    testMethod()
  File ".../Products/CMFCore/tests/test_CMFBTreeFolder.py", line 42, in 
test___module_aliases__
    from Products.BTreeFolder2.CMFBTreeFolder \
ImportError: No module named CMFBTreeFolder

............................................................................................................................................................................................

Error in test test_customize 
(Products.CMFCore.tests.test_FSPageTemplate.FSPageTemplateCustomizationTests)
Traceback (most recent call last):
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/unittest.py",
 line 260, in run
    testMethod()
  File ".../Products/CMFCore/tests/test_FSPageTemplate.py", line 155, in 
test_customize
    self.fsPT.manage_doCustomize( folder_path='custom' )
  File ".../Products/CMFCore/FSObject.py", line 135, in manage_doCustomize
    folder._verifyObjectPaste(obj, validate_src=0)
  File "/usr/local/Zope-2.9.6/lib/python/OFS/CopySupport.py", line 527, in 
_verifyObjectPaste
    action = 'manage_main')
Copy Error: 
<HTML>
<HEAD>
<TITLE>Not Supported</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>
  The object <em>testPT</em> does not support this operation.
  </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_customize_caching 
(Products.CMFCore.tests.test_FSPageTemplate.FSPageTemplateCustomizationTests)
Traceback (most recent call last):
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/unittest.py",
 line 260, in run
    testMethod()
  File ".../Products/CMFCore/tests/test_FSPageTemplate.py", line 171, in 
test_customize_caching
    self.fsPT.manage_doCustomize(folder_path='custom')
  File ".../Products/CMFCore/FSObject.py", line 135, in manage_doCustomize
    folder._verifyObjectPaste(obj, validate_src=0)
  File "/usr/local/Zope-2.9.6/lib/python/OFS/CopySupport.py", line 527, in 
_verifyObjectPaste
    action = 'manage_main')
Copy Error: 
<HTML>
<HEAD>
<TITLE>Not Supported</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>
  The object <em>testPT</em> does not support this operation.
  </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_dontExpandOnCreation 
(Products.CMFCore.tests.test_FSPageTemplate.FSPageTemplateCustomizationTests)
Traceback (most recent call last):
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/unittest.py",
 line 260, in run
    testMethod()
  File ".../Products/CMFCore/tests/test_FSPageTemplate.py", line 179, in 
test_dontExpandOnCreation
    self.fsPT.manage_doCustomize( folder_path='custom' )
  File ".../Products/CMFCore/FSObject.py", line 135, in manage_doCustomize
    folder._verifyObjectPaste(obj, validate_src=0)
  File "/usr/local/Zope-2.9.6/lib/python/OFS/CopySupport.py", line 527, in 
_verifyObjectPaste
    action = 'manage_main')
Copy Error: 
<HTML>
<HEAD>
<TITLE>Not Supported</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>
  The object <em>testPT</em> does not support this operation.
  </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_customization_permissions 
(Products.CMFCore.tests.test_FSPythonScript.FSPythonScriptCustomizationTests)
Traceback (most recent call last):
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/unittest.py",
 line 260, in run
    testMethod()
  File ".../Products/CMFCore/tests/test_FSPythonScript.py", line 180, in 
test_customization_permissions
    fsPS.manage_doCustomize(folder_path='custom')
  File ".../Products/CMFCore/FSObject.py", line 135, in manage_doCustomize
    folder._verifyObjectPaste(obj, validate_src=0)
  File "/usr/local/Zope-2.9.6/lib/python/OFS/CopySupport.py", line 527, in 
_verifyObjectPaste
    action = 'manage_main')
Copy Error: 
<HTML>
<HEAD>
<TITLE>Not Supported</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>
  The object <em>test6</em> does not support this operation.
  </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_customize 
(Products.CMFCore.tests.test_FSPythonScript.FSPythonScriptCustomizationTests)
Traceback (most recent call last):
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/unittest.py",
 line 260, in run
    testMethod()
  File ".../Products/CMFCore/tests/test_FSPythonScript.py", line 121, in 
test_customize
    fsPS.manage_doCustomize( folder_path='custom' )
  File ".../Products/CMFCore/FSObject.py", line 135, in manage_doCustomize
    folder._verifyObjectPaste(obj, validate_src=0)
  File "/usr/local/Zope-2.9.6/lib/python/OFS/CopySupport.py", line 527, in 
_verifyObjectPaste
    action = 'manage_main')
Copy Error: 
<HTML>
<HEAD>
<TITLE>Not Supported</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>
  The object <em>test6</em> does not support this operation.
  </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_customize_caching 
(Products.CMFCore.tests.test_FSPythonScript.FSPythonScriptCustomizationTests)
Traceback (most recent call last):
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/unittest.py",
 line 260, in run
    testMethod()
  File ".../Products/CMFCore/tests/test_FSPythonScript.py", line 144, in 
test_customize_caching
    fsPS.manage_doCustomize(folder_path='custom')
  File ".../Products/CMFCore/FSObject.py", line 135, in manage_doCustomize
    folder._verifyObjectPaste(obj, validate_src=0)
  File "/usr/local/Zope-2.9.6/lib/python/OFS/CopySupport.py", line 527, in 
_verifyObjectPaste
    action = 'manage_main')
Copy Error: 
<HTML>
<HEAD>
<TITLE>Not Supported</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>
  The object <em>test6</em> does not support this operation.
  </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_customize_proxyroles 
(Products.CMFCore.tests.test_FSPythonScript.FSPythonScriptCustomizationTests)
Traceback (most recent call last):
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/unittest.py",
 line 260, in run
    testMethod()
  File ".../Products/CMFCore/tests/test_FSPythonScript.py", line 157, in 
test_customize_proxyroles
    fsPS.manage_doCustomize(folder_path='custom')
  File ".../Products/CMFCore/FSObject.py", line 135, in manage_doCustomize
    folder._verifyObjectPaste(obj, validate_src=0)
  File "/usr/local/Zope-2.9.6/lib/python/OFS/CopySupport.py", line 527, in 
_verifyObjectPaste
    action = 'manage_main')
Copy Error: 
<HTML>
<HEAD>
<TITLE>Not Supported</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>
  The object <em>test6</em> does not support this operation.
  </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_customize 
(Products.CMFCore.tests.test_FSZSQLMethod.FSZSQLMethodCustomizationTests)
Traceback (most recent call last):
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/unittest.py",
 line 260, in run
    testMethod()
  File ".../Products/CMFCore/tests/test_FSZSQLMethod.py", line 69, in 
test_customize
    self.fsZSQL.manage_doCustomize( folder_path='custom' )
  File ".../Products/CMFCore/FSObject.py", line 135, in manage_doCustomize
    folder._verifyObjectPaste(obj, validate_src=0)
  File "/usr/local/Zope-2.9.6/lib/python/OFS/CopySupport.py", line 527, in 
_verifyObjectPaste
    action = 'manage_main')
Copy Error: 
<HTML>
<HEAD>
<TITLE>Not Supported</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>
  The object <em>testsql</em> does not support this operation.
  </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_customize_properties 
(Products.CMFCore.tests.test_FSZSQLMethod.FSZSQLMethodCustomizationTests)
Traceback (most recent call last):
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/unittest.py",
 line 260, in run
    testMethod()
  File ".../Products/CMFCore/tests/test_FSZSQLMethod.py", line 76, in 
test_customize_properties
    self.fsZSQL.manage_doCustomize( folder_path='custom' )
  File ".../Products/CMFCore/FSObject.py", line 135, in manage_doCustomize
    folder._verifyObjectPaste(obj, validate_src=0)
  File "/usr/local/Zope-2.9.6/lib/python/OFS/CopySupport.py", line 527, in 
_verifyObjectPaste
    action = 'manage_main')
Copy Error: 
<HTML>
<HEAD>
<TITLE>Not Supported</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>
  The object <em>testsql</em> does not support this operation.
  </CENTER>
  </TD>
</TR>
<TR>
  <TD VALIGN="TOP">
  </TD>
  <TD VALIGN="TOP">
  <CENTER>
  <INPUT TYPE="SUBMIT" VALUE="   Ok   ">
  </CENTER>
  </TD>
</TR>
</TABLE>
</FORM>
</BODY></HTML>

.............................2006-12-07 23:07:01 ERROR CMFCore.TypesTool 
_queryFactoryMethod raised an exception
Traceback (most recent call last):
  File ".../Products/CMFCore/TypesTool.py", line 388, in _queryFactoryMethod
    p = dispatcher[self.product]
  File "/usr/local/Zope-2.9.6/lib/python/App/FactoryDispatcher.py", line 26, in 
__getitem__
    return self.__bobo_traverse__(None, name)
  File "/usr/local/Zope-2.9.6/lib/python/App/FactoryDispatcher.py", line 29, in 
__bobo_traverse__
    product=self.aq_acquire('_getProducts')()._product(name)
  File "/usr/local/Zope-2.9.6/lib/python/App/Product.py", line 69, in _product
    def _product(self, name): return getattr(self, name)
AttributeError: CMFCore


Error in test test_invokeFactory_disallowed_type 
(Products.CMFCore.tests.test_PortalFolder.PortalFolderFactoryTests)
Traceback (most recent call last):
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/unittest.py",
 line 260, in run
    testMethod()
  File ".../Products/CMFCore/tests/test_PortalFolder.py", line 106, in 
test_invokeFactory_disallowed_type
    f.invokeFactory( type_name='Folder', id='sub' )
  File ".../Products/CMFCore/PortalFolder.py", line 310, in invokeFactory
    return pt.constructContent(type_name, self, id, RESPONSE, *args, **kw)
  File ".../Products/CMFCore/TypesTool.py", line 684, in constructContent
    ob = info.constructInstance(container, id, *args, **kw)
  File ".../Products/CMFCore/TypesTool.py", line 276, in constructInstance
    raise AccessControl_Unauthorized('Cannot create %s' % self.getId())
Unauthorized: Cannot create Folder

...........2006-12-07 23:07:01 ERROR CMFCore.TypesTool _queryFactoryMethod 
raised an exception
Traceback (most recent call last):
  File ".../Products/CMFCore/TypesTool.py", line 388, in _queryFactoryMethod
    p = dispatcher[self.product]
  File "/usr/local/Zope-2.9.6/lib/python/App/FactoryDispatcher.py", line 26, in 
__getitem__
    return self.__bobo_traverse__(None, name)
  File "/usr/local/Zope-2.9.6/lib/python/App/FactoryDispatcher.py", line 29, in 
__bobo_traverse__
    product=self.aq_acquire('_getProducts')()._product(name)
  File "/usr/local/Zope-2.9.6/lib/python/App/Product.py", line 69, in _product
    def _product(self, name): return getattr(self, name)
AttributeError: CMFCore


Error in test test_manageAddFolder 
(Products.CMFCore.tests.test_PortalFolder.PortalFolderTests)
Traceback (most recent call last):
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/unittest.py",
 line 260, in run
    testMethod()
  File ".../Products/CMFCore/tests/test_PortalFolder.py", line 312, in 
test_manageAddFolder
    test.manage_addFolder(id='simple', title='Simple')
  File ".../Products/CMFCore/PortalFolder.py", line 449, in manage_addFolder
    self.invokeFactory( type_name='Folder', id=id )
  File ".../Products/CMFCore/PortalFolder.py", line 310, in invokeFactory
    return pt.constructContent(type_name, self, id, RESPONSE, *args, **kw)
  File ".../Products/CMFCore/TypesTool.py", line 684, in constructContent
    ob = info.constructInstance(container, id, *args, **kw)
  File ".../Products/CMFCore/TypesTool.py", line 276, in constructInstance
    raise AccessControl_Unauthorized('Cannot create %s' % self.getId())
Unauthorized: Cannot create Folder

........

Error in test test_folderMove 
(Products.CMFCore.tests.test_PortalFolder.PortalFolderMoveTests)
Traceback (most recent call last):
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/unittest.py",
 line 260, in run
    testMethod()
  File ".../Products/CMFCore/tests/test_PortalFolder.py", line 466, in 
test_folderMove
    folder.manage_renameObject(id='sub', new_id='new_sub')
  File "/usr/local/Zope-2.9.6/lib/python/OFS/OrderSupport.py", line 265, in 
manage_renameObject
    REQUEST)
  File "/usr/local/Zope-2.9.6/lib/python/OFS/CopySupport.py", line 344, in 
manage_renameObject
    self._verifyObjectPaste(ob)
  File ".../Products/CMFCore/PortalFolder.py", line 413, in _verifyObjectPaste
    PortalFolderBase.inheritedAttribute(
  File "/usr/local/Zope-2.9.6/lib/python/OFS/CopySupport.py", line 527, in 
_verifyObjectPaste
    action = 'manage_main')
Copy Error: 
<HTML>
<HEAD>
<TITLE>Not Supported</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>
  The object <em>sub</em> does not support this operation.
  </CENTER>
  </TD>
</TR>
<TR>
  <TD VALIGN="TOP">
  </TD>
  <TD VALIGN="TOP">
  <CENTER>
  <INPUT TYPE="SUBMIT" VALUE="   Ok   ">
  </CENTER>
  </TD>
</TR>
</TABLE>
</FORM>
</BODY></HTML>

....................

Failure in test test_move_cant_delete_source 
(Products.CMFCore.tests.test_PortalFolder.PortalFolderCopySupportTests)
Traceback (most recent call last):
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/unittest.py",
 line 260, in run
    testMethod()
  File ".../Products/CMFCore/tests/test_PortalFolder.py", line 1139, in 
test_move_cant_delete_source
    , ce_regex='Insufficient Privileges'
  File ".../Products/CMFCore/tests/test_PortalFolder.py", line 931, in 
_assertCopyErrorUnauth
    self.fail( "Paste failed; didn't match pattern:\n%s" % e )
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/unittest.py",
 line 301, in fail
    raise self.failureException, msg
AssertionError: Paste failed; didn't match pattern:

<HTML>
<HEAD>
<TITLE>Not Supported</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>
  The object <em>sub</em> does not support this operation.
  </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_paste_with_restricted_container_content_type 
(Products.CMFCore.tests.test_PortalFolder.PortalFolderCopySupportTests)
Traceback (most recent call last):
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/unittest.py",
 line 260, in run
    testMethod()
  File ".../Products/CMFCore/tests/test_PortalFolder.py", line 1275, in 
test_paste_with_restricted_container_content_type
    , copy_cookie
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/unittest.py",
 line 320, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "/usr/local/Zope-2.9.6/lib/python/OFS/CopySupport.py", line 194, in 
manage_pasteObjects
    self._verifyObjectPaste(ob, validate_src=op+1)
  File ".../Products/CMFCore/PortalFolder.py", line 413, in _verifyObjectPaste
    PortalFolderBase.inheritedAttribute(
  File "/usr/local/Zope-2.9.6/lib/python/OFS/CopySupport.py", line 527, in 
_verifyObjectPaste
    action = 'manage_main')
Copy Error: 
<HTML>
<HEAD>
<TITLE>Not Supported</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>
  The object <em>folder2</em> does not support this operation.
  </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_paste_with_restricted_item_content_type_allowed 
(Products.CMFCore.tests.test_PortalFolder.PortalFolderCopySupportTests)
Traceback (most recent call last):
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/unittest.py",
 line 260, in run
    testMethod()
  File ".../Products/CMFCore/tests/test_PortalFolder.py", line 1229, in 
test_paste_with_restricted_item_content_type_allowed
    folder1.manage_pasteObjects( copy_cookie )
  File "/usr/local/Zope-2.9.6/lib/python/OFS/CopySupport.py", line 194, in 
manage_pasteObjects
    self._verifyObjectPaste(ob, validate_src=op+1)
  File ".../Products/CMFCore/PortalFolder.py", line 413, in _verifyObjectPaste
    PortalFolderBase.inheritedAttribute(
  File "/usr/local/Zope-2.9.6/lib/python/OFS/CopySupport.py", line 527, in 
_verifyObjectPaste
    action = 'manage_main')
Copy Error: 
<HTML>
<HEAD>
<TITLE>Not Supported</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>
  The object <em>folder2</em> does not support this operation.
  </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_paste_with_restricted_item_content_type_not_allowed 
(Products.CMFCore.tests.test_PortalFolder.PortalFolderCopySupportTests)
Traceback (most recent call last):
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/unittest.py",
 line 260, in run
    testMethod()
  File ".../Products/CMFCore/tests/test_PortalFolder.py", line 1185, in 
test_paste_with_restricted_item_content_type_not_allowed
    , copy_cookie
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/unittest.py",
 line 320, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "/usr/local/Zope-2.9.6/lib/python/OFS/CopySupport.py", line 194, in 
manage_pasteObjects
    self._verifyObjectPaste(ob, validate_src=op+1)
  File ".../Products/CMFCore/PortalFolder.py", line 413, in _verifyObjectPaste
    PortalFolderBase.inheritedAttribute(
  File "/usr/local/Zope-2.9.6/lib/python/OFS/CopySupport.py", line 527, in 
_verifyObjectPaste
    action = 'manage_main')
Copy Error: 
<HTML>
<HEAD>
<TITLE>Not Supported</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>
  The object <em>folder2</em> does not support this operation.
  </CENTER>
  </TD>
</TR>
<TR>
  <TD VALIGN="TOP">
  </TD>
  <TD VALIGN="TOP">
  <CENTER>
  <INPUT TYPE="SUBMIT" VALUE="   Ok   ">
  </CENTER>
  </TD>
</TR>
</TABLE>
</FORM>
</BODY></HTML>

.....................................................................................
  Ran 544 tests with 1 failures and 28 errors in 23.953 seconds.

_______________________________________________
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests

Reply via email to