Wed, 07 Oct 2009 19:59:46 +0200 [editcontroller] backout (sort of) removal of entity.complete() in validate_form stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 07 Oct 2009 19:59:46 +0200] rev 3608
[editcontroller] backout (sort of) removal of entity.complete() in validate_form entity is passed to js callbacks when there's one. In that case, we want as much information as we can. The removal was there to avoid complete to fail when all constraints (required relations / attributes) aren't satisfied. This fix only does the complete() after the commit is done, any ValidationError should have been raised at this point.
(0) -3000 -1000 -300 -100 -30 -10 -1 +1 +10 +30 +100 +300 +1000 +3000 tip