<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.10">
</HEAD>
<BODY>
<BR>
&nbsp; Hi,<BR>
<BR>
I have a problem with Zope-2.6.1, which I'll try to describe below...<BR>
I have several classes, in several Python products, with several custom properties :<BR>
<BR>
<PRE>&nbsp; class MyFolder (ObjectManager):
&nbsp;&nbsp;&nbsp; _properties = ({'id':'title',&nbsp;&nbsp;&nbsp; 'type':'string', 'mode':'w'},
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {'id':'oid',&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'type':'string', 'mode':''},
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {'id':'template', 'type':'string', 'mode':'w'})

&nbsp; class MyClass (SimpleItem):
&nbsp;&nbsp;&nbsp; _properties = ({'id':'title',&nbsp;&nbsp;&nbsp; 'type':'string', 'mode':'w'},
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {'id':'oid',&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'type':'string', 'mode':''},
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...)

&nbsp; class MySubClass (MyClass):
&nbsp;&nbsp;&nbsp; _properties = MyClass._properties + \
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ({'id':'template', 'type':'string', 'mode':'w'},
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...)</PRE>
<BR>
Instances of MyClass and MySubClass are stored in instances of MyFolder.<BR>
My problem is that when I cut and paste an instance of MySubClass from/to an instance of MyFolder, it seems that properties added to MySubClass are lost ; and in this example, the MySubClass.template is replaced with the value of MyFolder.template.<BR>
<BR>
The &quot;CopySource._getCopy&quot; method which is used to get a copy of an object while cutting/pasting is never overridden, but I think that my added properties are already missing while calling this method...<BR>
<BR>
Any help or idea will be greatly welcome...<BR>
Thanks,<BR>
<BR>
&nbsp; Thierry<BR>
<BR>
</BODY>
</HTML>