web/views/editcontroller.py
changeset 6015 ee76e8e72776
parent 5877 0c7b7b76a84f
child 6033 09db6f4619c9
--- a/web/views/editcontroller.py	Mon Jul 26 12:15:11 2010 +0200
+++ b/web/views/editcontroller.py	Tue Jul 27 09:06:55 2010 +0200
@@ -115,7 +115,7 @@
         form = req.form
         # so we're able to know the main entity from the repository side
         if '__maineid' in form:
-            req.set_shared_data('__maineid', form['__maineid'], querydata=True)
+            req.set_shared_data('__maineid', form['__maineid'], txdata=True)
         # no specific action, generic edition
         self._to_create = req.data['eidmap'] = {}
         self._pending_fields = req.data['pendingfields'] = set()