ZDiscussions in Zope 2.4.0
What is the right way to add a ZDiscussion in Zope 2.4.0? When I add it, it tells me: Error Type: TypeError Error Value: Catalog addIndex now requires the index type to be resolved prior to adding; create the proper index in the caller. What is "the caller" and what is "the proper index"? _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
Xron had a similar problem with 2.4.0. Search the zope-dev@zope.org list for "Xron". -- Loren
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Stephan Goeldi Sent: Thursday, August 23, 2001 07:30 To: zope@zope.org Subject: [Zope] ZDiscussions in Zope 2.4.0
What is the right way to add a ZDiscussion in Zope 2.4.0?
When I add it, it tells me:
Error Type: TypeError Error Value: Catalog addIndex now requires the index type to be resolved prior to adding; create the proper index in the caller.
What is "the caller" and what is "the proper index"?
_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Stephan Goeldi writes:
What is the right way to add a ZDiscussion in Zope 2.4.0?
When I add it, it tells me:
Error Type: TypeError Error Value: Catalog addIndex now requires the index type to be resolved prior to adding; create the proper index in the caller.
What is "the caller" and what is "the proper index"? Apparently the "addIndex" API has changed with the new "Pluggable Indexes". It now expects a complete index object and not a name and a type as parameters.
The "caller" is the "ZDiscussion" instance that tries to add indexes to the catalog. Its code needs to be changed in order to use the new API. Dieter
participants (4)
-
Chris Withers -
Dieter Maurer -
Loren Stafford -
Stephan Goeldi