[Zope-dev] Re: PermissionGeddon
Florent Guillaume
fg at nuxeo.com
Tue Nov 29 11:23:27 EST 2005
Dieter Maurer wrote:
> 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.
I checked in a backward compatibility check for this too.
Florent
--
Florent Guillaume, Nuxeo (Paris, France) CTO, Director of R&D
+33 1 40 33 71 59 http://nuxeo.com fg at nuxeo.com
More information about the Zope-Dev
mailing list