[Zope] 'Owner' not being set.
Dave Smithson
Dave Smithson" <dave.smithson@runningdog.co.uk
Wed, 11 Jul 2001 17:02:47 +0100
Dear Jerome / All,
> the owner is incorrectly set when used recursively if you already own the
> root of the subtree.
> remove line 171 in AccessControl/Owned.py in Zope 2.3.2
Thanks. Commented out line 171, which I took as ( # if old==new:
turn ), but a 'book' loaded into 'example' still comes out in 'example'
and 'example2'. My description in my first post was also incorrect:
>>
...and the
zCatalog seems to be picking up the right metadata - except for the 'owner'.
(See screengrabs at http://d029.ml.uwcm.ac.uk:8080/imi_test/screengrab). We
don't think the 'owner' is getting set using the following code *, which is
from the zc_book_add (zc_book constructor):
* <dtml-call "REQUEST.set('Owner',AUTHENTICATED_USER.getUserName())">
>>
as 'owner' should read 'Owner'. My mistake. Hm. However, if I did change the
right line in Owned.py, I still seem to have the problem. If this doesn't
look right, please give me a prod. Any other ideas would be very gratefully
accepted.
My regards,
Dave.
David Smithson
Information Designer
Media Resources Centre
University of Wales College of Medicine
Cardiff UK