renamed gadfly DA, ZSQL Method shows new name, when called looks up old name
On Zope 2.3.2 created gadfly DA, then created a ZSQL Method, then renamed my Gadfly DA. In ZSQL Method Zope shows me the new name as connection id, but when i call it (programmatically), Zope complains The database connection old_name cannot be found. ? Is this a bug or a feature, and why so? furthermore, whenever i looked into the Gadfly DA/Properties, zope showed me "demo" as data source (alphabetically first), although the DA takes *my* database as data source. Very misleading. ? Is that known and is there a higher version where this is fixed? -- ------------------------------------------------------------- Who's got only a hammer sees the world as a nail hans augustin (software developer) hans@beehive.de beehive elektronische medien GmbH http://www.beehive.de phone: +49 30 847-82 0 fax: +49 30 847-82 299
Hi. I think this is only a little annoyance, because the dropdown only has one item: your new connection, but selected is the old value, so the new shows up, but the old is stored. simply select the new one time and then save the zsqlmethod again. Greetings Christian On Wed, Mar 06, 2002 at 06:01:52PM +0000, hans wrote:
On Zope 2.3.2 created gadfly DA, then created a ZSQL Method, then renamed my Gadfly DA. In ZSQL Method Zope shows me the new name as connection id, but when i call it (programmatically), Zope complains The database connection old_name cannot be found. ? Is this a bug or a feature, and why so? furthermore, whenever i looked into the Gadfly DA/Properties, zope showed me "demo" as data source (alphabetically first), although the DA takes *my* database as data source. Very misleading. ? Is that known and is there a higher version where this is fixed? -- ------------------------------------------------------------- Who's got only a hammer sees the world as a nail hans augustin (software developer) hans@beehive.de beehive elektronische medien GmbH http://www.beehive.de phone: +49 30 847-82 0 fax: +49 30 847-82 299
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- Christian Theune - ct@gocept.com gocept gmbh & co.kg - schalaunische strasse 6 - 06366 koethen/anhalt tel.+49 3496 3099112 - fax.+49 3496 3099118 mob. - 0178 48 33 981 reduce(lambda x,y:x+y,[chr(ord(x)^42) for x in 'zS^BED\nX_FOY\x0b'])
participants (2)
-
Christian Theune -
hans