View Full Version : Help understanding validation

3 Mar 2011, 3:41 PM
Needing some help understanding the validation process. I am using a noSQL database, so the response I get bet is not the traditional response. When I try to save a document for the first time, I get the success value and record id back from the server, but no root property. Because of this, Ext throws and exception and fails validation even though the record was successfully saved. Now the catch is that when I edit an existing record, the same response comes back from teh server, but Ext doesn't appear to throw any exceptions (didn't dig too deep since I am getting the behavior I expect).

My question is why is the validation for a new record different than the validation of an existing record. Is there a way to rely solely on the success property for validation an not rely on the root property?