web/views/editcontroller.py
branchstable
changeset 4665 873ebd160954
parent 4387 4aacd6492ef4
child 4883 11899d28337f
child 4932 dce5ebe5d598
--- a/web/views/editcontroller.py	Tue Feb 23 12:59:30 2010 +0100
+++ b/web/views/editcontroller.py	Tue Feb 23 13:19:16 2010 +0100
@@ -159,8 +159,9 @@
                 field = form.field_by_name(name, role, eschema=entity.e_schema)
             else:
                 field = form.field_by_name(name, role)
-            if field.has_been_modified(form):
-                self.handle_formfield(form, field, rqlquery)
+            for field in field.actual_fields(form):
+                if field.has_been_modified(form):
+                    self.handle_formfield(form, field, rqlquery)
         if self.errors:
             errors = dict((f.role_name(), unicode(ex)) for f, ex in self.errors)
             raise ValidationError(entity.eid, errors)