• Nicolas Dumazet's avatar
    * extend importObjectFromFile API to pass suppress_events to _setObject · 65510366
    Nicolas Dumazet authored
    * make sure that when set_owner=False, nothing is tried on owernships at all
    
    suppress_events=True or a call to manage_changeOwnershipType implies
    a recursion in the imported objects, forcing portal type classes loads to
    be able to return subojects: sometimes we do not want this.
    
    This is required to be able to import XML files very early in the bootstrap
    process without having zope to EVER recurse into the imported objects:
    when installing portal_types/portal_property_sheets for bootstrap, we
      a) do not care about ownership
      b) do not care about oh-so-clever zope events
    
    
    
    git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42396 20353a03-c40f-0410-a6d1-a30d3c3de9de
    65510366
ObjectManager.py 1.71 KB