Child pages
  • Data/Record/Column validation

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When the record is validated and the database is called to insert or update a database exception can happen, this is still set on the Record.exception, but also a JSValidationObject is created and the exception is added to the genericExceptions.


Side effects

Because the column validator doesn't run by default anymore when the value is pushed into the record, and an illegal value is blocked previously, now the illegal value will be placed in the record. And the record won't be able to save itself. This can result in a form not allowing itself to go invisible. Because a form tries first to save all the records of its foundst that are in edit when hiding the form. If autosave is on the records are tried to save and fail now so the form stays visible.