[Zope] Find and Catalog
Pascal Samuzeau
samuzeau@oreka.com
Thu, 27 Jun 2002 09:21:58 +0100
Hi,
I try to Find and Catalog inside the portal_catalog.
I can't and the error below appears.
I tried to do it, because when I use of this syntaxe :
<dtml-let results=portal_catalog>
<dtml-return search_view>
</dtml-let>
with param as :
Type=Document
Zope returns to me ALL the catalog !!!!
It is the non logical error, I found when I get my Site.zexp under
Zope 2.4.3 to export to my new site under Zope 2.5.1.
What's happen ?
--------------------------------------------------------------------
Type de l'erreur : KeyError
Valeur de l'erreur : question
Traceback (innermost last):
File C:\Zope\ZopeSite\lib\python\ZPublisher\Publish.py, line 150, in
publish_module
File C:\Zope\ZopeSite\lib\python\ZPublisher\Publish.py, line 114, in
publish
File C:\Zope\ZopeSite\lib\python\Zope\__init__.py, line 159, in
zpublisher_exception_hook
(Object: portal_catalog)
File C:\Zope\ZopeSite\lib\python\ZPublisher\Publish.py, line 98, in
publish
File C:\Zope\ZopeSite\lib\python\ZPublisher\mapply.py, line 88, in
mapply
(Object: manage_catalogFoundItems)
File C:\Zope\ZopeSite\lib\python\ZPublisher\Publish.py, line 39, in
call_object
(Object: manage_catalogFoundItems)
File C:\Zope\ZopeSite\lib\python\Products\ZCatalog\ZCatalog.py, line
330, in manage_catalogFoundItems
(Object: portal_catalog)
File C:\Zope\ZopeSite\lib\python\Products\ZCatalog\ZCatalog.py, line
709, in ZopeFindAndApply
(Object: portal_catalog)
File C:\Zope\ZopeSite\lib\python\Products\ZCatalog\ZCatalog.py, line
709, in ZopeFindAndApply
(Object: portal_catalog)
File C:\Zope\ZopeSite\lib\python\Products\ZCatalog\ZCatalog.py, line
709, in ZopeFindAndApply
(Object: portal_catalog)
File C:\Zope\ZopeSite\lib\python\Products\ZCatalog\ZCatalog.py, line
697, in ZopeFindAndApply
(Object: portal_catalog)
File C:\Zope\ZopeSite\lib\python\Products\CMFCore\CatalogTool.py,
line 212, in catalog_object
(Object: portal_catalog)
File C:\Zope\ZopeSite\lib\python\Products\ZCatalog\ZCatalog.py, line
480, in catalog_object
(Object: portal_catalog)
File C:\Zope\ZopeSite\lib\python\Products\ZCatalog\Catalog.py, line
310, in catalogObject
File C:\Zope\ZopeSite\lib\python\Products\ZCatalog\Catalog.py, line
423, in recordify
File C:\Zope\ZopeSite\lib\python\OFS\DTMLMethod.py, line 120, in
__call__
(Object: title)
File C:\Zope\ZopeSite\lib\python\DocumentTemplate\DT_String.py, line
473, in __call__
(Object: title)
File C:\Zope\ZopeSite\lib\python\DocumentTemplate\DT_Var.py, line
211, in render
(Object: question)
KeyError: (see above)
------------------------------------------------------------------
Sincerily
PS
--------------------------------------------------
Oreka ! Nous sommes l'internet moins cher !
Surfez 25% moins cher avec http://www.oreka.com