Possible bug in CopySupport.py (Zope 1.10.2)
29 Mar
1999
29 Mar
'99
10:36 p.m.
In CopySupport.py CopyContainer._verifyObjectPaste is called by manage_renameObject with a REQUEST object passed. If REQUEST is None in manage_renameObject (the default when not called interactively) _verifyObjectPaste tries to access a user=REQUEST.get('AUTHENTICATED_USER', None) in line 326 (I have no CVS, so this is the std 1.10.2 distribution). Since REQUEST is None an AttributeError is thrown. * * * What I was trying to do is to customize the automatic renaming of object ids (if pasted) via an overloaded _postCopy. I don't know how to solve the above authentication problem (at least as intended) other than by passing the REQUEST object over to _postCopy. Ideas anyone? Stefan
9893
Age (days ago)
9893
Last active (days ago)
0 comments
1 participants
participants (1)
-
Stefan Franke