[Zope-dev] Re: PermissionGeddon

Dieter Maurer dieter at handshake.de
Sun Nov 27 14:12:35 EST 2005


Hanno Schlichting wrote at 2005-11-26 09:28 +0100:
> ...
>I hope to have tracked the ~200 failing tests down to two of your 
>changes in OFS.CopySupport.
>
>The first change is in the manage_pasteObjects method of CopyContainer. 
>There are some _setObject and _delObject calls which grew a new 
>suppress_events parameter. This breaks the reference implementation of 
>Archetypes because it uses something based on BTreeFolder2 to store 
>references and BTreeFolder2 overwrites both _setObject and _delObject 
>with its own versions.

Several "Folder" like classes are likely to overwrite
"_setObject" and "_delObject".
Maybe, the code that calls these methods with an additional parameter
should be prepared to meet implementations that do not support
the extra parameter.

-- 
Dieter


More information about the Zope-Dev mailing list