[Zope-Coders] failing CMF tests (Copy or Move)
Florent Guillaume
fg@nuxeo.com
Mon, 17 Jun 2002 16:29:01 +0000 (UTC)
Trying a fresh CMF/Zope checkout, I have a few failing tests, apparently
due to the recent addition of the 'Copy or Move' permission.
I'm not sure about it though, this being the first time I try to run CMF
tests.
Florent
Running: /home/guillaum/writable-cvs/Zope/lib/python/Products/all_cmf_tests.py
..................E.E..........................................................................................................................................................................................................................
======================================================================
ERROR: test_contentPaste (Products.CMFCore.tests.test_PortalFolder.PortalFolderTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_PortalFolder.py", line 337, in test_contentPaste
File "/home/guillaum/writable-cvs/Zope/lib/python/OFS/CopySupport.py", line 69, in manage_cutObjects
raise CopyError, eNotSupported % id
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 action against the <em>dummy</em> object could not be carried out. One of the following constraints caused the problem: <br><br>The object does not support this operation.<br><br>-- OR --<br><br>The currently logged-in user does not have the <b>Copy or Move</b> permission respective to the object.
</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: test_folderMove (Products.CMFCore.tests.test_PortalFolder.PortalFolderTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_PortalFolder.py", line 197, in test_folderMove
File "/home/guillaum/writable-cvs/Zope/lib/python/Products/ZCatalog/ZCatalog.py", line 486, in uniqueValuesFor
return self._catalog.uniqueValuesFor(name)
File "/home/guillaum/writable-cvs/Zope/lib/python/Products/ZCatalog/Catalog.py", line 396, in uniqueValuesFor
return self.indexes[name].uniqueValues()
KeyError: id
----------------------------------------------------------------------
Ran 239 tests in 15.298s
FAILED (errors=2)
======================================================================
OVERALL FAILED (total errors=2)
--
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87 http://nuxeo.com mailto:fg@nuxeo.com