[Zope-dev] Zope 2.3.1b1, strange things when ConflictError.
Chris McDonough
chrism@digicool.com
Mon, 26 Feb 2001 04:37:15 -0500
The use of a literal anonymous list in methodb's signature for "objects" may
have something to do with the results you're getting on conflict. Try
assigning "objects" to an empty list in the method body instead.
----- Original Message -----
From: "Erik Enge" <erik@esol.no>
To: "Steve Alexander" <steve@cat-box.net>
Cc: <zope-dev@zope.org>
Sent: Monday, February 26, 2001 5:46 AM
Subject: Re: [Zope-dev] Zope 2.3.1b1, strange things when ConflictError.
> On Sun, 25 Feb 2001, Steve Alexander wrote:
>
> > I wasn't reading the code clearly the first time around.
> >
> > By far the simplest place to return copied results from methodB is to
> > change the last line to
>
> Thanks, it all works nice. Nearly, that is.
>
> The reverse problem is now gone. But the fact that every time I get a
> ConflictError it doesn't "flush" the 'objects' of methodB, and just seems
> to append to it, still remains.
>
> I only get this when a ConflictError occur.
>
>
> _______________________________________________
> Zope-Dev maillist - Zope-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope-dev
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope )
>