Pascal Samuzeau writes:
1 - a KeyError.
It is very strange, for me and for you(I suppose), but I can ensure you that I have'nt a DTML Method named "type". To be sure I try to find a such object, but nowhere I can find it. It's not "type" but "title"!
2 - an unexpected search result
Yes it does exactly as I wrote you, but I give to you the exact link I send to my site :
http://localhost/cerf/search?SearchableText=&Type%3Alist=Cas+clinique
First I was thinking that the type "list" of my "Type" was suspect, but the ssame error appears without the type "list".
Is there a way to "destroy" the entirely catalog and create a new one without lost any informations ? In principle, yes. But it is a pain and it will probably not help you.
For some reason, your catalog does not recognize the "Type" as an index name (and therefore ignores it). May it be that you accidentally deleted the "Type" index?
.... 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)
The "title" field in your catalog's "Meta Data Table" is resolved into a DTML Method (named "title") for at least one of the objects to be catalogued. This DTML Method references a variable "question" which is not defined in the current context.
Dieter