<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I have created my Archetype's Products on Plone 
2.0/Zope 2.7.0/win32. All was OK. But now I am on Plone 2.0/Zope 2.6.2/linux2 
and I can't more save and modify my products on my site. I can just rename 
them.&nbsp;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>
<P><FONT face=Arial size=2>from Products.Archetypes.public import *<BR>from 
Products.Archetypes.BaseContent import BaseContent,BaseContentMixin<BR>from 
Products.Archetypes.utils import DisplayList<BR>from Products.CMFCore import 
CMFCorePermissions<BR>from config import *<BR>from AccessControl import 
ClassSecurityInfo<BR>import string</FONT></P>
<P><BR><FONT face=Arial size=2>schema = 
Schema(<BR>&nbsp;(<BR>&nbsp;StringField('id',<BR>&nbsp;&nbsp;required=1,<BR>&nbsp;&nbsp;default=None,<BR>&nbsp;&nbsp;accessor="getId",<BR>&nbsp;&nbsp;widget=IdWidget(label="Identifiant",<BR>&nbsp;&nbsp;&nbsp;description="(identifiant 
unique)",<BR>&nbsp;&nbsp;&nbsp;visible={'edit':'none','view':'visible'})<BR>&nbsp;&nbsp;),<BR>&nbsp;StringField('title',<BR>&nbsp;&nbsp;required=1,<BR>&nbsp;&nbsp;searchable=1,<BR>&nbsp;&nbsp;accessor='Title',<BR>&nbsp;&nbsp;widget=StringWidget(label="Titre",<BR>&nbsp;&nbsp;&nbsp;description="(saisir 
le 
titre)")<BR>&nbsp;&nbsp;),<BR>&nbsp;TextField('Descriptif',<BR>&nbsp;&nbsp;searchable=1,<BR>&nbsp;&nbsp;widget=TextAreaWidget(label="Descriptif",<BR>&nbsp;&nbsp;&nbsp;description="(saisir 
un descriptif 
concis)",<BR>&nbsp;&nbsp;&nbsp;cols='50',<BR>&nbsp;&nbsp;&nbsp;rows='3')<BR>&nbsp;&nbsp;),<BR>&nbsp;FileField('Fichier',<BR>&nbsp;&nbsp;required=1,<BR>&nbsp;&nbsp;searchable=1,<BR>&nbsp;&nbsp;allowable_content_types=('text/*',),<BR>&nbsp;&nbsp;widget=FileWidget(description="(sélectionner 
le document)")<BR>&nbsp;&nbsp;),<BR>&nbsp;))</FONT></P>
<P><FONT face=Arial size=2>class ICCt_Documentation(BaseContent):<BR>&nbsp;"""Il 
s'agit de la définition du type de contenu : Documentation"""<BR>&nbsp;schema = 
BaseSchema + schema</FONT></P>
<P><FONT face=Arial size=2>registerType(ICCt_Documentation)</FONT></P>
<P><FONT face=Arial size=2>Do you any idea ?</FONT></P>
<P><FONT face=Arial size=2>Thanks.</FONT></P></DIV></BODY></HTML>