--- a/cubicweb/web/views/editcontroller.py Fri Jul 08 10:13:15 2016 +0200
+++ b/cubicweb/web/views/editcontroller.py Thu Jul 21 15:32:36 2016 +0200
@@ -202,7 +202,7 @@
except (RequestError, NothingToEdit) as ex:
if '__linkto' in req.form and 'eid' in req.form:
self.execute_linkto()
- elif not ('__delete' in req.form or '__insert' in req.form):
+ elif '__delete' not in req.form:
raise ValidationError(None, {None: text_type(ex)})
# all pending inlined relations to newly created entities have been
# treated now (pop to ensure there are no attempt to add new ones)