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" <[EMAIL PROTECTED]>
To: "Steve Alexander" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
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 - [EMAIL PROTECTED]
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope )
Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -