You are not logged in Log in Join
You are here: Home » Members » Stefan's Home » Patches for exUserFolder, ... » exUserFolder-0.10.4.patch » View File

Log in
Name

Password

 

exUserFolder-0.10.4.patch

File details
Size
1 K
File type
text/plain

File contents

--- exUserFolder.py.orig	Tue Dec 25 01:32:58 2001
+++ exUserFolder.py	Tue Dec 25 02:11:31 2001
@@ -103,6 +103,7 @@
 						   sessionTracking=None, idleTimeout=None,
 						   REQUEST={}):
 	""" """
+	self = self.this()	# call the FactoryDispatcher's this()
 	if hasattr(self.aq_base, 'acl_users'):
 		return MessageDialog(
 			title  ='Item Exists',
@@ -111,8 +112,8 @@
 	ob=exUserFolder(authId, propId, memberId, cookie_mode, session_length,
 					sessionTracking, idleTimeout)
 	self._setObject('acl_users', ob, None, None, 0)
-	self.__allow_groups__=self.acl_users
-	ob=getattr(self, 'acl_users')
+	self.__allow_groups__=ob	# avoid possible acquisition
+	ob=self._getOb('acl_users')	# avoid possible acquisition
 	ob.postInitialisation(REQUEST)
 	if REQUEST:
 		return self.manage_main(self, REQUEST)