progromattically keeping a zcatalog updated
I am not even sure if it is the zcatalog that is the problem. I add new instances of a class through dtml, then I go to a page which displays them, but sometimes the instances don't show up until I manually force the zcatalog to update. I have been using this: <dtml-call reindex_object> but I am not sure that it is right or maybe I am just using it incorectly josh oN
On Thu, 11 May 2000, josh on wrote:
I am not even sure if it is the zcatalog that is the problem. [...] I have been using this:
<dtml-call reindex_object>
2.1.6? There have been several reports of weirdness involving reindex_object in 2.1.6, and no fix that I know of. A reported workaround is to call reindex_object by doing a redirect to it at the end of your instance(Edit|Add) method, but I'm sticking with 2.1.4 for now because of this problem. --RDM
I have been using this:
<dtml-call reindex_object>
2.1.6?
There have been several reports of weirdness involving reindex_object in 2.1.6, and no fix that I know of. A reported workaround is to call reindex_object by doing a redirect to it at the end of your instance(Edit|Add) method, but I'm sticking with 2.1.4 for now because of this problem.
yeah I am on 2.1.6, and it is really making things bad! will it be easy for me to revert my system to 2.1.4??? will some features stop working (as well as start!) I have put this line: <dtml-call reindex_object> in a lot of places in a vain attempt, but hitting the recatalog button works the best... sorry to repeat myself, but can't I just call exactly what that button calls from the code or is that a bad idea? josh
participants (2)
-
josh on -
R. David Murray