we may have some entity forms with nothing to edit for an entity, no RequestError in that case
--- a/web/views/editcontroller.py Fri Sep 18 09:16:40 2009 +0200
+++ b/web/views/editcontroller.py Fri Sep 18 09:17:20 2009 +0200
@@ -51,7 +51,8 @@
try:
methodname = form.pop('__method', None)
for eid in req.edited_eids():
- formparams = req.extract_entity_params(eid)
+ # __type and eid
+ formparams = req.extract_entity_params(eid, minparams=2)
if methodname is not None:
entity = req.entity_from_eid(eid)
method = getattr(entity, methodname)