[ZCM] [ZC] 2074/ 3 Reject "misbehaviour of OFS.Owned.changeOwnership"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Tue Apr 25 08:40:52 EDT 2006


Issue #2074 Update (Reject) "misbehaviour of OFS.Owned.changeOwnership"
 Status Rejected, Zope/bug+solution medium
To followup, visit:
  http://www.zope.org/Collectors/Zope/2074

==============================================================
= Reject - Entry #3 by efge on Apr 25, 2006 8:40 am

 Status: Pending => Rejected

Dupe.

________________________________________
= Comment - Entry #2 by sbunse on Apr 21, 2006 11:43 am

please close, this is a double post (hit cancel then reload in browser)
________________________________________
= Request - Entry #1 by sbunse on Apr 21, 2006 11:02 am

when i request a recursive changeOwnership on a folder i expext itself and all children to be owned by the given user. but if the folder is already owned by the target user the method returns before processing it's children.

proposed solution: wrap lines 150 & 151 into if clause like this:
>        if not recursive:
>            if old==new: return
>            if old is UnownableOwner: return

sry it's not a patch but i think it would be overkill for this simple change ;)
==============================================================



More information about the Zope-Collector-Monitor mailing list