[Zope-PTK] Cut and Paste of PortalContent - a hacky fix.

Chris Withers chrisw@nipltd.com
Mon, 03 Jul 2000 10:08:04 +0100


Steve Alexander wrote:
> I believe the correct fix would be to patch CopySupport.py to see if the
> first part of the path is "manage_addProduct", and if so, do as it does
> now. If not, however, is should traverse down the containment hierarchy
> (repeatedly using  getattr() or whatever) to find the given action in
> the ZODB. For all I know, this may be fixed in Zope 2.2.

You could use the traversal interface in 2.2

Maybe this is fixed there, I'm not sure.

The best way would be to do a CVS log on CopySupport.py. I did, but
nothing jumped out at me as solving this problem. Maybe I'm wrong?

cheers,

Chris