I need to investigate this further now, but this
problem so far seems to isolated to the ValueIndex.

Also, when the ObjectModifiedEvent is replaced with an
ObjectCreatedEvent, the object is properly indexed.

...

--- [EMAIL PROTECTED] wrote:

> Hi list,
> 
> For some reason, everytime an object is modified,
> all
> of the catalog information for that object is lost.
> 
> A full catalog reindex works.
> 
> Do I need to subscribe the interfaces of the catalog
> indexes to the ObjectModfiedEvent or something? I
> appreciate any pointers.
> 
> 
> Thanks,
> 
> Kevin Smith
> 
> formlib code:
> 
> @action(_("Apply"), condition=haveInputWidgets)
> def handle_edit_action(self, action, data):
> 
>     if applyChanges(self.context, self.form_fields,
> data, self.adapters):
>        
> zope.event.notify(ObjectModifiedEvent(self.context))
> 
> 
> sample interface used in a setindex:
> class ISection(interface.Interface):
>     """ """
> 
>     section = schema.List(title=u"Section",
>                          
> value_type=schema.TextLine(title=u'Section'),
>                           default=[],
>                                required=False)
>             
> 
> 
> _______________________________________________
> Zope3-users mailing list
> Zope3-users@zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users
> 

_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to