[Zope] Copy & Paste CatalogAware Zclass
Mark N. Gibson
mark@kaivo.com
Mon, 30 Apr 2001 18:11:55 -0600
I have a folderish object containing other CatalogAware Zclasses. When
I try to copy and paste, I get the following error:
(Using Zope 2.3.1)
Error Type: KeyError
Error Value: SERVER_URL
<!--
Traceback (innermost last):
File /usr/local/zope/LegalTree-2.3.x/lib/python/ZPublisher/Publish.py,
line 223, in publish_module
File /usr/local/zope/LegalTree-2.3.x/lib/python/ZPublisher/Publish.py,
line 187, in publish
File /usr/local/zope/LegalTree-2.2.x/lib/python/Zope/__init__.py, line
221, in zpublisher_exception_hook
(Object: Traversable)
File /usr/local/zope/LegalTree-2.3.x/lib/python/ZPublisher/Publish.py,
line 171, in publish
File /usr/local/zope/LegalTree-2.2.x/lib/python/ZPublisher/mapply.py,
line 160, in mapply
(Object: manage_pasteObjects)
File /usr/local/zope/LegalTree-2.3.x/lib/python/ZPublisher/Publish.py,
line 112, in call_object
(Object: manage_pasteObjects)
File /usr/local/zope/LegalTree-2.3.x/lib/python/OFS/CopySupport.py,
line 230, in manage_pasteObjects
(Object: Traversable)
File /usr/local/zope/LegalTree-2.3.x/lib/python/OFS/ObjectManager.py,
line 318, in manage_afterClone
(Object: Renderable)
File
/usr/local/zope/LegalTree-2.3.x/lib/python/Products/ZCatalog/CatalogAwareness.py,
line 122, in manage_afterClone
(Object: CatalogAware)
File
/usr/local/zope/LegalTree-2.3.x/lib/python/Products/ZCatalog/CatalogAwareness.py,
line 184, in index_object
(Object: CatalogAware)
File
/usr/local/zope/LegalTree-2.3.x/lib/python/Products/ZCatalog/CatalogAwareness.py,
line 157, in url
(Object: CatalogAware)
File /usr/local/zope/LegalTree-2.3.x/lib/python/OFS/Traversable.py,
line 119, in absolute_url
(Object: CatalogAware)
KeyError: (see above)
-->
Any ideas?
------------
Mark Gibson
Kaivo, Inc.
mark@kaivo.com