documentcloud/backbone — Issue #861: Failure in collection while adding models which does not pass validation
Author: pushkinas
Created: 2012-01-17 15:27:12+00:00
State: open

Hello,

Seems there is no check in collection.add method for the case when _prepareModel returns false. When this happens, call to model.on raises an error. However i don't know what should be the expected behavior, should it be silently ignored, or should it terminate as it is now.