I have a problem in the validation of the object.
Before saving the object are performed several tests, which if not satisfied they do not return messages and add this event.
For example if the start date is less than today’s date, then this event can not be added.
But he does not write but always appears this event undefined.
How to treat for failing to appear.
I tried but did not work with eventDelete. Is there any other way?