[Zope-dev] (CORRECTION) ZPatterns bug: Customizers don't rename well

Phillip J. Eby pje@telecommunity.com
Wed, 30 Aug 2000 19:28:53 -0500


At 06:15 PM 8/30/00 -0500, Phillip J. Eby wrote:
>
>Meanwhile, I'm adding the following method to the PlugInGroup class for the
>next release of ZPatterns:
>
>    def manage_renameObjects(self, ids, new_ids, REQUEST=None):
>        """Rename several sub-objects"""
>        self.aq_inner.aq_parent.manage_renameObjects(id,new_ids)
>        if REQUEST is not None:
>            return self.manage_main(self, REQUEST, update_menu=1,
>                URL=REQUEST.URL1+'/manage_workspace')
>

That should actually say:

    self.aq_inner.aq_parent.manage_renameObjects(ids,new_ids)

And I've now confirmed that it does indeed fix the URL messups.