Re: [Zope-dev] Problems adding many objects

2005-09-26 Thread Chris McDonough
Hi Morten, You'd probably need to show us the implementation of whatever manage_add_issue is. - C On Sep 25, 2005, at 10:09 AM, Morten W. Petersen wrote: Hi, I've created a script that imports XML into the ZODB, using regular TTW methods - and all is fine, except for when I import

Re: [Zope-dev] Problems adding many objects

2005-09-26 Thread Morten W. Petersen
Chris, the implementation looks like this def manage_add_issue(self, id=None, title='', contents='', state='', type='', referrer='', format=None, REQUEST=None): Add an Issue. if id is None: id = self.get_unique_id() issue_ = issue(id, title,

Re: [Zope-dev] Problems adding many objects

2005-09-26 Thread Chris McDonough
On Sep 26, 2005, at 7:21 AM, Morten W. Petersen wrote: Chris, the implementation looks like this def manage_add_issue(self, id=None, title='', contents='', state='', type='', referrer='', format=None, REQUEST=None): Add an Issue. if id is None:

[Fwd: Re: [Zope-dev] Problems adding many objects]

2005-09-26 Thread Morten W. Petersen
Oops, one for the list as well. Original Message Subject: Re: [Zope-dev] Problems adding many objects Date: Mon, 26 Sep 2005 13:34:50 +0200 From: Morten W. Petersen [EMAIL PROTECTED] To: Chris McDonough [EMAIL PROTECTED] References: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL

[Zope-dev] Re: SVN: Zope/branches/Zope-2_8-branch/ - Collector #1879: applied patch by Dieter Maurer to fix a bug in

2005-09-26 Thread Florent Guillaume
This is the kind of thing that would *really* benefit from having unit tests... Florent Andreas Jung [EMAIL PROTECTED] wrote: Log message for revision 38586: - Collector #1879: applied patch by Dieter Maurer to fix a bug in ac_aquire() ignoring the default argument

Re: [Zope-dev] Re: SVN: Zope/branches/Zope-2_8-branch/ - Collector #1879: applied patch by Dieter Maurer to fix a bug in

2005-09-26 Thread Andreas Jung
You could convince Dieter to write unittests for his patches :-) On the other side his patches are in 99% of the cases trustworthy. Otherwise this bug would remain open. -aj --On 26. September 2005 18:31:27 +0200 Florent Guillaume [EMAIL PROTECTED] wrote: This is the kind of thing that

[Zope-dev] Z SQL Caching

2005-09-26 Thread Dale Hirt
Title: Z SQL Caching Hi all, I have a Z SQL method that is currently returning around 25000 rows. Is there a way to see if it is pulling that data from the cache or is doing a refresh? Alternatively, and maybe this will answer the first question, the Z SQL method is run essentially twice,

[Zope-dev] Re: Z SQL Caching

2005-09-26 Thread Martijn Pieters
Dale Hirt wrote: I have a Z SQL method that is currently returning around 25000 rows. Is there a way to see if it is pulling that data from the cache or is doing a refresh? Alternatively, and maybe this will answer the first question, the Z SQL method is run essentially twice, each time

RE: [Zope-dev] Re: Z SQL Caching

2005-09-26 Thread Dale Hirt
Thank you, Martijn. That makes it very clear. :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Martijn Pieters Sent: Monday, September 26, 2005 11:49 AM To: zope-dev@zope.org Subject: [Zope-dev] Re: Z SQL Caching Dale Hirt wrote: I have a Z SQL method