[Zope] ZCatalog
Dyon Balding
dyon@adroit.net
Wed, 5 Apr 2000 16:44:10 +1000
I am having some trouble with copying and pasting CatalogAware
objects. The problem appears to be with the reference to self.REQUEST
in the url() method of CatalogAware.
I'm not sure whether this is the problem, or whether I am doing
something incorrectly. Any ideas?
-d
The traceback is as follows:
Error Type: AttributeError
Error Value: REQUEST
Traceback (innermost last):
File /home/dyon/Zope-2.1.4-src/lib/python/ZPublisher/Publish.py, line 214, in publish_module
File /home/dyon/Zope-2.1.4-src/lib/python/ZPublisher/Publish.py, line 179, in publish
File /home/dyon/Zope-2.1.4-src/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook
(Object: ElementWithAttributes)
File /home/dyon/Zope-2.1.4-src/lib/python/ZPublisher/Publish.py, line 165, in publish
File /home/dyon/Zope-2.1.4-src/lib/python/ZPublisher/mapply.py, line 160, in mapply
(Object: manage_pasteObjects)
File /home/dyon/Zope-2.1.4-src/lib/python/ZPublisher/Publish.py, line 102, in call_object
(Object: manage_pasteObjects)
File /home/dyon/Zope-2.1.4-src/lib/python/OFS/CopySupport.py, line 208, in manage_pasteObjects
(Object: ElementWithAttributes)
File /home/dyon/Zope-2.1.4-src/lib/python/OFS/ObjectManager.py, line 255, in manage_afterClone
(Object: ElementWithAttributes)
File /home/dyon/Zope-2.1.4-src/lib/python/OFS/ObjectManager.py, line 255, in manage_afterClone
(Object: RoleManager)
File /home/dyon/Zope-2.1.4-src/lib/python/OFS/ObjectManager.py, line 255, in manage_afterClone
(Object: RoleManager)
File /home/dyon/Zope-2.1.4-src/lib/python/Products/ZCatalog/CatalogAwareness.py, line 121, in manage_afterClone
(Object: CatalogAware)
File /home/dyon/Zope-2.1.4-src/lib/python/Products/ZCatalog/CatalogAwareness.py, line 181, in index_object
(Object: CatalogAware)
File /home/dyon/Zope-2.1.4-src/lib/python/Products/ZCatalog/CatalogAwareness.py, line 159, in url
(Object: CatalogAware)
AttributeError: (see above)
--
Adroit | Dyon Balding dyon@adroit.net
Internet | http://www.adroit.net/
Solutions | work: +613 98888522, mobile: +61 0414992604