[ZPatterns] excessive recursion error

R. David Murray bitz@bitdance.com
Wed, 4 Jul 2001 14:23:10 -0400 (EDT)


On Tue, 3 Jul 2001 joachim@beehive.de wrote:
> <dtml-call "Catalog.uncatalog_object(_.string.join(i.getPhysicalPath(),'/'))">
> <dtml-call "Catalog.catalog_object(i,_.string.join(i.getPhysicalPath(),'/'))">
> 
> there is no error. So is this the best method to reindex a Rack.

Note that post 2.3.2b2, the above is not optimal.  Instead you should just
do 

 <dtml-call "Catalog.catalog_object(i,_.string.join(i.getPhysicalPath(),'/'))">

to let the new Catalog update minimization machinery do its work.

--RDM