[Zope] AArgh. Zope-2_2-branch and head of CVS breaks SQLMetho ds.

Brian Lloyd Brian@digicool.com
Thu, 10 Aug 2000 10:27:50 -0400


Thanks Anthony - I've checked in a fix to the 2.2 branch and 
the trunk.


Brian Lloyd        brian@digicool.com
Software Engineer  540.371.6909              
Digital Creations  http://www.digicool.com 




> -----Original Message-----
> From: Anthony Baxter [mailto:anthony@interlink.com.au]
> Sent: Thursday, August 10, 2000 6:40 PM
> To: brian@digicool.com
> Cc: zope@zope.org
> Subject: Re: [Zope] AArgh. Zope-2_2-branch and head of CVS breaks
> SQLMethods. 
> 
> 
> 
> Aha! Nailed it. It's the 1.131 version of OFS/Application.py
> 
> cvs log entry:
> ----------------------------
> revision 1.131
> date: 2000/08/02 17:31:54;  author: brian;  state: Exp;  
> lines: +71 -46
> branches:  1.131.4;
> Merged fix for products with old-style initialization not 
> being properly
> filtered by permission in the filtered add list.
> ----------------------------
> 
> Ok, the problem is that when it sees an initialize() method, it
> stops looking for other stuff. ZSQLMethods has a __methods__ 
> thing, tho. Oops. Patch appended to make it always look for
> __methods__.
> 
> Note that it doesn't break ZSQLMethods from working, just 
> from being added
> or edited.
> 
> Argh. This would've been much easier to figure out if I 
> hadn't managed 
> to confuse myself (tooo many installations of zope, all 
> slightly different -
> need to make it better :)
> 
> Anthony
> 
> >>> Anthony Baxter wrote
> > 
> > The current Zope-2_2-branch and head of CVS is busted - you 
> cannot add or
> > edit SQLMethods. It appears that 
> Products.ZSQLMethods.__init__.__methods__ 
> > doesn't get into the namespace of the product properly, as neither
> > the add or edit screens can see SQLConnectionIDs.
> > 
> > Blah. More to come - I'll try to figure out why it's 
> broken, and when.
> > 
> > Anthony
> 
> 
>