Wednesday 15 September 2010

Breeze getValidationErrors not working? -


A Breeze Entity Manager is throwing an exception when I try to save two related entities. There is no communication with the server before the exception is being thrown away by the client-side, the error message is a "Validation Error" in the exception, but calling EntityAspect.getValidationError () on each unit listed in the exception gives an empty array.

The screenshot below shows a live example:

image description Enter

Question :

I used to call the EntityManager for the institutions in question before the exceptions raised by saving the unrecognized change () found in the behavior (), () to restore the code in the example given above in the reinstallation The error status of the organizations is not preserved in the exception object, so after getting rejected, call getValidationErrors () on each unit () returns an empty table, the change has been reverted from that time and technically any There is also no error unit.

Therefore, technically not a bug is working as a bridge design, however, I think it has been argued that the exception object is saved while saving (change). In which the complete and irreversible description of the problem (up) should be.

No comments:

Post a Comment