the "cannot rename zclass" bug ...
I've seen this a number of times over the past year and can't recall the cause or solution ... Instances of a zclass cannot be renamed either via manage_renameObject or the management interface. The zclass is not catalogaware - its base classes are ZObject and ZObjectManager (in that order). I have other similar zclasses that can be renamed without problem. The problem seems to be with the paste operation. Any ideas? The error: The object X does not support this operation. Traceback (innermost last): File /opt/zope/Zope-2.3.1/lib/python/ZPublisher/Publish.py, line 223, in publish_module File /opt/zope/Zope-2.3.1/lib/python/ZPublisher/Publish.py, line 187, in publish File /opt/zope/Zope-2.3.1/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File /opt/zope/Zope-2.3.1/lib/python/ZPublisher/Publish.py, line 171, in publish File /opt/zope/Zope-2.3.1/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_renameObjects) File /opt/zope/Zope-2.3.1/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_renameObjects) File /opt/zope/Zope-2.3.1/lib/python/OFS/CopySupport.py, line 286, in manage_renameObjects (Object: Traversable) File /opt/zope/Zope-2.3.1/lib/python/OFS/CopySupport.py, line 301, in manage_renameObject (Object: Traversable) File /opt/zope/Zope-2.3.1/lib/python/OFS/CopySupport.py, line 444, in _verifyObjectPaste (Object: Traversable) Copy Error: (see above) --------------------------------------------- This message was sent using Endymion MailMan. http://www.endymion.com/products/mailman/
participants (1)
-
dedmundsonï¼ bigfoot.com