[Zope-Checkins] CVS: Zope2 - ZClass.py:1.55.4.1
Rob Mead
rbmead@digicool.com
Thu, 29 Mar 2001 22:24:19 -0500 (EST)
Update of /cvs-repository/Zope2/lib/python/ZClasses
In directory korak:/home/rbmead/Zope2/lib/python/ZClasses
Modified Files:
Tag: rbmead-rand_id-branch
ZClass.py
Log Message:
createInObjectManager - get id from obj since btreefolder now picks a
random id for IOBtreeFolders
--- Updated File ZClass.py in package Zope2 --
--- ZClass.py 2001/02/28 19:32:21 1.55
+++ ZClass.py 2001/03/30 03:24:17 1.55.4.1
@@ -539,7 +539,8 @@
except: durl=REQUEST['URL3']
RESPONSE.redirect(durl+'/manage_workspace')
else:
- return folder._getOb(id)
+ # get id from obj since btreefolder now picks a random id for IOBtreeFolders
+ return folder._getOb(i.id)
index_html=createInObjectManager