I have installed the product (Products.DateRangeInRangeIndex 1.3) on a Zope 2.11.4 with python 2.4.
I have in my application Event like objects with start_date and end_date properties (floats). I have created a DateRangeInRangeIndex index named idx_range with start index = start_date and end index = end_date.
In my application I have an edit form for Event like objects and every time time an event is modified I recatalog it (I call uncatalog_object and catalog_object from the catalog).
I noticed that the idx_range is not being updated. In the product's code I see that the methods index_object and unindex_object are empty.
Now, how can I get the index being updated when I modify an Event? Am I doing something wrong? Could you please help me with some pointers?
I found out what I was doing wrong: my indexes were FieldIndex and not DateIndex and in my query I was using the names of the indexes instead of 'start'/'end'.
Hi Jens,
I have installed the product (Products.DateRangeInRangeIndex 1.3) on a Zope 2.11.4 with python 2.4.
I have in my application Event like objects with start_date and end_date properties (floats). I have created a DateRangeInRangeIndex index named idx_range with start index = start_date and end index = end_date.
In my application I have an edit form for Event like objects and every time time an event is modified I recatalog it (I call uncatalog_object and catalog_object from the catalog).
I noticed that the idx_range is not being updated. In the product's code I see that the methods index_object and unindex_object are empty.
Now, how can I get the index being updated when I modify an Event? Am I doing something wrong? Could you please help me with some pointers?
Thank you very much, Dragos