Skip to content

[Entities] Intro field frontend limit (2048) exceeds backend DB column limit (255) #1104

Description

@AShchurEP

EPAM AI DIAL Admin version

Admin: [FE]0.20.0-dev.24 [BE]0.20.0-dev.3

How to reproduce

  1. Navigate to Entities → Applications (also reproducible for Models, Toolsets, Interceptors)
  2. Open any existing entity or create a new one
  3. Go to the Properties tab and locate the Intro field
  4. Enter more than 255 characters in the Intro field (the frontend validation allows up to 2048 characters)
  5. Click Save

Actual result

An Internal Server Error is displayed:
"could not execute statement [ERROR: value too long for type character varying(255)]"
The entity is not saved and the raw SQL error is exposed to the user.

Image Image

Expected result

The frontend should enforce a 255-character limit matching the backend database constraint, preventing the error before the request is sent. Alternatively, the backend DB column should be extended to accept up to 2048 characters to match the frontend limit. No internal server error should be shown to the user.

Additional information

No response

Confidential information

I confirm that do not share any confidential information

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

P3 – MediumSecondary flow or UX is degraded. No data loss. Reasonable workaround availablebugIssues or problems that need to be fixed.

Type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions