[Zope-CMF] Discussable disappeared.

Ignacio Valdes ivaldes@hal-pc.org
Wed, 09 May 2001 22:47:19 -0500


Tres Seaver wrote:

> On Wed, 9 May 2001, Ignacio Valdes wrote:
>
> <snip>
> > Okay, I put in the above code into allow_discussion
>
> AIYAH!  Don't do that!  call the new DTML Method
> "test_discussion_parms", or "edna", or anything except one of the
> values it is trying to dump itself!  I'll chalk this one up to
> new-baby sleep deprivation. :)
>
> > and run it
> > against one of my objects at this URL:
> > http://www.linuxmednews.com/linuxmednews/LMNProjects/20010503123815/20010503160056/20010503170304/allow_discussion
> >
> > And I get a Zope error that says 'System Error', 'excessive
> > recursion' with a big long repeating message, part of which
> > I've included here:
>
> Right, you've created a method which always calls itself;  Zope
> is catching that for you, after about a hundred times, instead of
> core dumping. :)
>
> Tres.
> --

Just to be sure, I also created a default site and document and ran the test method on it. I get normal results like
you do on your test site.  Looks like something is distinctly wrong on the site that I've already populated. -- IV

--
Ignacio Valdes, Editor: Linux Medical News
http://www.linuxmednews.com
'Revolutionizing Medical Education and Practice'