diff -r 9a902670e4ff -r fabc680bb0bf web/views/editcontroller.py --- 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: