(Ack! If you got duplicate quoted messages from me, it's because Outlooks is just *the* coolest mail user agent since they stopped using horses)
-----Original Message----- From: Ross J. Reedstrom [mailto:reedstrm@rice.edu] Sent: Friday, May 14, 1999 6:56 PM To: Zope Mailing list Subject: [Zope] UserDb
Hey all - Anybody use UserDb under Zope 1.11.0pr1? I'm getting an error about an undefined Key PARENT_URL. A quick grep through Zope sources for 1.10.2 and 1.11.0pr1 indicates that it went away. Anybody patched it up? Are there other problems lurking?
Ugh. Yes PARENT_URL is obsolete. Someone should fix this. Volunteers? -Michel
Ross
P.S. Yes, the implication that I got access to my PostgreSQL database working from the Zope/Win32 install is accurate: I had forgotten about the ZODBCDA! So, a quick install of postODBC and ZODBCA on the NT web server, and voila! data comes pouring out. Aren't all these OpenSource pieces wonderful?
-- Ross J. Reedstrom, Ph.D., <reedstrm@rice.edu> NSBRI Research Scientist/Programmer Computer and Information Technology Institute Rice University, 6100 S. Main St., Houston, TX 77005
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(For developer-specific issues, use the companion list, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
Well, I won't guarantee that I've tested all the functionality, but this seems to get the UserDb product installed, and lets me validate against the users defined in my backend Db, as well as add, delete and edit users: (This is a patch to UserDb.py to make it work under Zope 10.11.0.pr1) Patch: --- UserDb.py~ Wed Dec 2 11:03:40 1998 +++ UserDb.py Fri May 14 18:02:22 1999 @@ -343,7 +343,7 @@ return MessageDialog( title ='Item Exists', message='This object already contains a User Folder', - action ='%s/manage_main' % REQUEST['PARENT_URL']) + action ='%s/manage_main' % REQUEST['URL1']) ob=UserDb(connection_id, cookie_mode) self._setObject('acl_users', ob) self.__allow_groups__=self.acl_users
Ugh. Yes PARENT_URL is obsolete. Someone should fix this.
Volunteers?
-Michel
-- Ross J. Reedstrom, Ph.D., <reedstrm@rice.edu> NSBRI Research Scientist/Programmer Computer and Information Technology Institute Rice University, 6100 S. Main St., Houston, TX 77005
participants (2)
-
Michel Pelletier -
reedstrmļ¼ wallace.ece.rice.edu