Michael Bernstein wrote:
reindex_object - should be called when an object is edited
Hmmm... didn't see this method listed in the interfaces wiki. Where did
you find it?
I just inserted a call to catalog_object which did the job but I wonder
what the difference between index_object abd
Chris Withers wrote:
Michael Bernstein wrote:
reindex_object - should be called when an object is edited
Hmmm... didn't see this method listed in the interfaces wiki. Where did
you find it?
reindex_object is a method of the mix-in class CatalogAwareness.
Steve Alexander wrote:
reindex_object is a method of the mix-in class CatalogAwareness.
Ah, that's okay then, since Squishdot doesn't have anything to do with
CatalogAwareness.
I think calling index_object should work, as a well-implemented catalog
will do the right thing. However, calling
Chris Withers wrote:
Michael Bernstein wrote:
reindex_object - should be called when an object is edited
Hmmm... didn't see this method listed in the interfaces wiki. Where did
you find it?
I found it in the 'Creating a CatalogAware ZClass' HowTo:
While trying to understand, what the "bself= self.aq_explicit"
in "OFS.DTMLMethod.__call__" should do, I detected an unexpected
behaviour:
usually, this "bself" acquires implicitly from
its container (though not from its context)
More precisely:
if "bself.aq_self" is itself an