[Zope-dev] UserDB not Zope 2.0 compatible..

Martijn Pieters mj@antraciet.nl
Tue, 22 Jun 1999 16:20:43 +0200


..because it still uses the PARENT_URL variable. Tsk tsk.

Patch (against version 1.3.0):
*** UserDb.py~  Tue Jun 22 16:09:47 1999
--- UserDb.py   Tue Jun 22 16:10:15 1999
***************
*** 345,351 ****
           return MessageDialog(
                  title  ='Item Exists',
                  message='This object already contains a User Folder',
!                action ='%s/manage_main' % REQUEST['PARENT_URL'])
       ob=UserDb(connection_id, cookie_mode)
       self._setObject('acl_users', ob)
       self.__allow_groups__=self.acl_users
--- 345,351 ----
           return MessageDialog(
                  title  ='Item Exists',
                  message='This object already contains a User Folder',
!                action ='%s/manage_main' % REQUEST['URL1'])
       ob=UserDb(connection_id, cookie_mode)
       self._setObject('acl_users', ob)
       self.__allow_groups__=self.acl_users

--
Martijn Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| Tel: +31-35-7502100 Fax: +31-35-7502111
| mailto:mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
------------------------------------------