ZClasses: invalid id, but id doesn't exist
OK, working on a new product, added a ZClass, inheriting from CatalogAware. Adding a propertysheet, no problem. Adding various properties .... all is fine until I try to add a property called 'summary'. There is no variation of it anyhwere within the product heirarchy (in fact, this is the first thing added!). I'ver even tried deleting the product and starting over. Nada. Any help greatly appreciated. Bill ANderson -- In flying I have learned that carelessness and overconfidence are usually far more dangerous than deliberately accepted risks. -- Wilbur Wright in a letter to his father, September 1900
If I remember correctly from the source, CatalogAware.py defines a "summary" method that returns the first 100 or 200 bytes of the text content... This is why KM|Net News has a "teaser" instead of a "summary" :) Kevin ----- Original Message ----- From: "Bill Anderson" <bill.anderson@libc.org> To: "Zope-Dev" <zope-dev@zope.org> Sent: Thursday, January 20, 2000 9:16 PM Subject: [Zope-dev] ZClasses: invalid id, but id doesn't exist
Adding a propertysheet, no problem. Adding various properties .... all is fine until I try to add a property called 'summary'.
There is no variation of it anyhwere within the product heirarchy (in fact, this is the first thing added!).
Kevin Dangoor wrote:
If I remember correctly from the source, CatalogAware.py defines a "summary" method that returns the first 100 or 200 bytes of the text content...
This is why KM|Net News has a "teaser" instead of a "summary" :)
Thanks, Kevin. Perhaps I missed it earlier becuase I use 'Summary' normally. This time, however, I was making a product to take advantage of SiteSummary's automated indexing, which will incorporate summary if present. Maybe SiteSummary can be changed to look for Summary as well as summary? Otherwise, no CatalogAware ZClass will play very well with SiteSummary's auto-indexing feature. Bummer. -- In flying I have learned that carelessness and overconfidence are usually far more dangerous than deliberately accepted risks. -- Wilbur Wright in a letter to his father, September 1900
participants (2)
-
Bill Anderson -
Kevin Dangoor