[ZPatterns] excessive recursion error

Phillip J. Eby pje@telecommunity.com
Tue, 03 Jul 2001 12:52:28 -0500


At 08:41 AM 7/3/01 +0200, joachim@beehive.de wrote:
>
>If you replace
>
><dtml-call
"i.propertysheets.Basic.manage_changeProperties(isPrivate=i.isPrivate)">
>
>by:
>
><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.

Well, at least until/unless the transaction problems are fixed.  :)  The
reason there's no problem if you call the cataloging directly, is that then
if the catalog issues a subtran commit, there is no recursion since a
transaction commit is not in progress.