10 Sep
2002
10 Sep
'02
7:36 p.m.
Jerome Alet wrote:
ownerid = None ownerinfo = object.owner_info() if ownerinfo is not None : # at least /Control_Panel/Products[/*] doesn't satisfy the following test if hasattr(ownerinfo, "has_key") and ownerinfo.has_key('id') : ownerid = ownerinfo['id']
This solves the problem. Thanks. Just curious, where is 'owner_info' documented? I did a search in the Zope online help and found no matches. --Borislav