Hi all,

I've finally tracked down the bug that was preventing me from using
copy/paste/rename with my ZClasses (_verifyObjectPaste exceptions). It's
caused by the fact that I changed their meta type names after creation
to allow them to be stored easily in a tokens attribute (I removed the

The all_meta_types method used by verifyObjectPaste appears to return
the original meta_type of a ZClass, even if you rename it, and so the
comparison fails. This is because all_meta_types actually uses the 'add
list name' of the factory, and changing this appears to work. I think it
would good if the latter's importance it is hilighted - that it isn't
just the text that appears in the 'Add Product List'.



PS Yes, the above took 3 hours.

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to