RE: [Zope] ZClasses under Zope 2.5
You made sure that CatalogAware was the first base class in the list for your ZClass, right? Sean -----Original Message----- From: Beat Zimmerli [mailto:b.zimmerli@mssc.ch] Sent: Thursday, March 14, 2002 5:31 AM To: zope@zope.org Subject: Re: [Zope] ZClasses under Zope 2.5 ----- Original Message ----- From: "Max M" <maxm@mxm.dk> To: "Beat Zimmerli" <b.zimmerli@mssc.ch> Cc: <zope@zope.org> Sent: Thursday, March 14, 2002 2:13 PM Subject: Re: [Zope] ZClasses under Zope 2.5
Beat Zimmerli wrote:
After hanving reinstalled my Zope version 2.5 everything works fine with the ZClass. Unfortunately, I run into another problem. The ZClass "News Item" according to the Zope book chapter 9 automatic cataloging works fine. However, new instances of the News Item Class do not catalog themselvers automatically. They can be found under Catalog->Catalog, but they are not yet searchable. I first have to update the catalog, in order to have the content of my new News Item indexed. This is not really automatically, is it? :-).
It sounds as if you have forgotten to sybclas CatalogAware.
regards Max M
_______________________________________________ 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 )
That seems not to be the problem, as I included the basis class ZCatalog Aware into my News Item class. Thanks anyway. Beat Z. _______________________________________________ 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 )
participants (1)
-
sean.upton@uniontrib.com