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