refresh breaks copysupport

Bug #95129 reported by Kapil Thangavelu
Affects Status Importance Assigned to Milestone

Bug Description

refresh a product which has some zope2 object ( cmf based in this case).. this in turn breaks copy support, if the object is copied after a refresh ( like portal factory in plone ).. with the traceback

  Module ZPublisher.Publish, line 41, in call_object
  Module Products.CMFPlone.FactoryTool, line 369, in __call__
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 41, in call_object

  Module Products.Archetypes.BaseObject, line 648, in processForm
  Module Products.Archetypes.BaseObject, line 751, in _renameAfterCreation
  Module Products.Archetypes.BaseObject, line 236, in setId
  Module OFS.CopySupport, line 344, in manage_renameObject
  Module Products.CMFCore.PortalFolder, line 533, in _verifyObjectPaste
  Module OFS.CopySupport, line 527, in _verifyObjectPaste

it appears that the when copy support goes to check the list of all meta types it can't the permission for the object and thus automatically bails with an error.

description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.