Steps to Reproduce:
Expected Behavior:
Actual Behavior:
Environment:
- Attempt to create or update any record in EspoCRM with a value that violates a unique constraint (e.g., duplicate number, email, or other unique field).
- Submit the form.
Expected Behavior:
- The form should display a validation error indicating which field violates the uniqueness constraint.
Actual Behavior:
- Submission fails with a 500 error instead of a user-friendly validation message.
- Example error in log:
Environment:
- EspoCRM version: 9.1.8
- PHP version: 8.3
- Database: maria db
Comment