You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When occurs exception in INSERT, FB show info, like this:
The insert failed because a column definition includes validation constraints.
validation error for column ID_WRIT_OF_EXEC, value "*** null ***".
But if exception occurs in EXECUTE BLOCK or in program, sometimes impossible, looking at the name of the field, to determine the name of the table. Which complicates the correction of an error in database/program.
summary: Add table name to text of validation contraint error message => Add table name to text of validation contraint error message, to help identify error context
Submitted by: Maxim Kuzmin (cybermax)
Is duplicated by CORE4368
Is related to QA620
When occurs exception in INSERT, FB show info, like this:
The insert failed because a column definition includes validation constraints.
validation error for column ID_WRIT_OF_EXEC, value "*** null ***".
But if exception occurs in EXECUTE BLOCK or in program, sometimes impossible, looking at the name of the field, to determine the name of the table. Which complicates the correction of an error in database/program.
Commits: b826331 c0ac8b6 a736229 FirebirdSQL/fbt-repository@8f94aa3 FirebirdSQL/fbt-repository@511d4bc FirebirdSQL/fbt-repository@0c334b5
====== Test Details ======
TODO: add statements of other kind that violates not only not-null definition (PK/UK/FK/CHECK, domain boundaries ?)
The text was updated successfully, but these errors were encountered: