Problems with OnError global method execution

Hi All,

We have problems with database errors validation using a global method attached to the OnError Event for the solution.

  1. It works if using autoSave true on the SmartClient

  2. it doesn´t work if using autoSave true on the WebClient
    The same solution with autoSave in true, validates on the SmartClient but does not using WebClient

  3. it doesn´t work if using autoSave false
    With autoSave in false it seems that the OnError is not working at all

By database errors I mean duplicate primary key or null columns entered into a column that does not accept Nulls.

Servoy version is 4.1.3

Best regards,

when is the data saved?

when do you expect that the onError() is called when autoSave is false?
when you call databaseManager.saveData();