[Zope3-Users] Changes on object not persistent if server is restarted.

Achim Domma domma at procoders.net
Mon May 22 15:40:46 EDT 2006


Hi,

I have written this simple content object:

class IArticle(Interface):
     title = TextLine(
         title=u"Title",
         description=u"The title",
         default=u"",
         required=True)

     body = Text(
         title=u"Body",
         description=u"Article Body",
         default=u"",
         required=True)

class Article(object):
     implements(IArticle)
     title=u''
     body=u''

The body of the article is rendered as restructured text. I can create 
and edit articles via the automatically generated forms. Everything 
worked fine, but currently my changes are not persistent if I restart 
the server.
The body is not empty after restart, but holds an older version. I'm 
working with the SVN version of Zope 3.

Any hint what I might be doing wrong?

regards,
Achim



More information about the Zope3-users mailing list