[Zope] What's wrong with this code?

Helge Tesdal tesdal@stud.ntnu.no
Fri, 4 Feb 2000 20:03:38 +0100 (MET)


On Thu, 3 Feb 2000, Evan Simpson wrote:

> > It would probably be a good thing to use the lowest, as this is the way
> > acquisition works? How do I set alias to the lowest id?
> 
> Just put 'reverse' into your <dtml-in>.

Thanks, I will.

> > What I'm really wondering about is why this iteration makes Zope go into
> > loops and occasionaly die.
> 
> I couldn't see the rest of your object's code (it looks like it was cut
> off), so I'm not sure.

The reason why I didn't include more of the code in the original post was
that it wasn't necessary. Adding more lines made it loop longer, removing
lines made it recover from the loop more quickly. That's the reason I
think Zope is doing some kind of n^x operation.

--
Helge