[Zope] creating a basic Z Search Interface form from the ZMI with Zope defaults creates error...
michael nt milne
michael.milne at gmail.com
Wed Sep 10 14:24:35 EDT 2008
Hi
I've just created a simple Z Search Interface form from the root of a
site. It's created a results page. The form lists all the searchable
fields, however when I do a simple search of my catalog within the
'Title' field..or any other field I get this error message...I know
what the error means but cannot work out why there should be text and
an integer being posted through when all I have done is search on a
text field!!
Thanks
(Zope 2.10.5-final, python 2.4.3, linux2)
Traceback (innermost last):
Module ZPublisher.Publish, line 119, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 42, in call_object
Module Shared.DC.Scripts.Bindings, line 313, in __call__
Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
Module Products.PageTemplates.ZopePageTemplate, line 330, in _exec
Module Products.PageTemplates.ZopePageTemplate, line 426, in pt_render
Module Products.CacheSetup.patch_cmf, line 74, in PT_pt_render
Module Products.CacheSetup.patch_utils, line 9, in call_pattern
Module Products.PageTemplates.PageTemplate, line 89, in pt_render
Module zope.pagetemplate.pagetemplate, line 117, in pt_render
Module zope.tal.talinterpreter, line 271, in __call__
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 586, in do_setLocal_tal
Module zope.tales.tales, line 696, in evaluate
Module Products.PageTemplates.ZRPythonExpr, line 49, in __call__
- __traceback_info__: modules['ZTUtils'].Batch(results,
size=20,
start=start)
Module PythonExpr, line 1, in <expression>
Module ZTUtils.Zope, line 149, in __init__
Module ZTUtils.Batch, line 65, in __init__
TypeError: cannot concatenate 'str' and 'int' objects
michael
More information about the Zope
mailing list