web/views/editcontroller.py
changeset 4359 fabc680bb0bf
parent 4277 35cd057339b2
child 4387 4aacd6492ef4
--- a/web/views/editcontroller.py	Tue Jan 26 10:30:57 2010 +0100
+++ b/web/views/editcontroller.py	Tue Jan 26 10:34:29 2010 +0100
@@ -145,6 +145,7 @@
         formid = self._cw.form.get('__form_id', 'edition')
         form = self._cw.vreg['forms'].select(formid, self._cw, entity=entity)
         eid = form.actual_eid(entity.eid)
+        form.formvalues = {} # init fields value cache
         try:
             editedfields = formparams['_cw_edited_fields']
         except KeyError: