Improve validation errors

What is the feature?

Properly show validation errors in console or UI when encountering validation errors on records, even from the summary view.

What problem does this solve for you?

We were running into a nondescript error when updating records.
Turns out we added a field as non-nullable, when it should have been nullable. Quite an easy fix.

I turned the search for the actual error into an absolute pain:

  1. Look into the client JS for instances of the error message
  2. Add breakpoints at the lines where the error is caught
  3. On debugger pause, dig into the error:
    image

Once I had way overengineered this process, I found out we were editing from the summary view which didn’t display the bogus field.
image

So… yeah.

Who else would be using this feature?

Anyone using the edits on the summary view.

Hello again,

Indeed, after trying out your use case I have found some improvement areas.
I have logged your request in our backlog, but unfortunately I cannot provide an ETA right now

Nicolas

1 Like