merge stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 12 Mar 2010 10:46:45 +0100
branchstable
changeset 4877 1d5803840ad5
parent 4876 9c232e0ed595 (current diff)
parent 4874 344857257672 (diff)
child 4885 7929865dedf1
merge
--- a/web/formfields.py	Fri Mar 12 10:46:28 2010 +0100
+++ b/web/formfields.py	Fri Mar 12 10:46:45 2010 +0100
@@ -201,14 +201,14 @@
         # of the 'form' appobject argument: the cache will keep growing as new
         # form are created...
         try:
-            return form.formvalues[(self, 'input_name')]
+            return form.formvalues[(self, 'input_name', suffix)]
         except KeyError:
             name = self.role_name()
             if suffix is not None:
                 name += suffix
             if self.eidparam:
                 name = eid_param(name, form.edited_entity.eid)
-            form.formvalues[(self, 'input_name')] = name
+            form.formvalues[(self, 'input_name', suffix)] = name
             return name
 
     def role_name(self):