Bug 510 - Client Name field validation does not block form submission — SQL integrity error exposed to end user
Summary: Client Name field validation does not block form submission — SQL integrity e...
Status: OPEN
Alias: None
Product: Smartwas
Classification: Unclassified
Component: Meal Management (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- High
Assignee: Arun (Arun)
URL:
Depends on:
Blocks:
 
Reported: 2026-09-15 10:00 UTC by Karunakaran (Karunakaran)
Modified: 2026-09-15 10:02 UTC (History)
0 users

See Also:
Associated Test Case ID:
Triaged By: ---
Root Cause Analysis (RCA):
Resolution Summary / Fix Details:
Impact Area:


Attachments
Client Name field validation fails to block form submission — raw SQL error exposed to user (209.25 KB, image/png)
2026-09-15 10:02 UTC, Karunakaran (Karunakaran)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karunakaran (Karunakaran) 2026-09-15 10:00:41 UTC
When the "Client Name" field is left empty and the form is submitted, the inline validation message "Please enter Client Name" appears correctly, but the form still submits to the backend. This triggers an unhandled SQL exception (SQLSTATE[23000]: Column 'client_name' cannot be null) shown in a raw browser alert popup
Comment 1 Karunakaran (Karunakaran) 2026-09-15 10:02:05 UTC
Created attachment 334 [details]
Client Name field validation fails to block form submission — raw SQL error exposed to user