[Zope] objects not updated after restart of Zope
Michal Bencur
zope@benko.sk
Mon, 13 May 2002 16:06:31 +0200
Hi,
I have a product, and I make a change of it's attributes.
Bellow's a method & DTML snippet, how I do this.
Object is updated, everything works fine until I restart
Zope - changes are lost afterwords, and objects get
previous content of "title" and "text" attributes.
it seems to me that object is changed, cached in memory,
but not stored into Data.fs.
any idea what could be wrong ?
regards,
Michal
my product:
def editData(self, title, text, category = 1, REQUEST=None):
"""Edit"""
self.title = title
self.text = text
self.category = category
self._p_changed = 1
dtml/edit.dtml:
<dtml-call "editData(atitle, atext, REQUEST=REQUEST)">