[API/frontend] Poll options limited to 50 chars, unspecific error when exceeded #495

Open
opened 2024-01-14 19:39:55 +01:00 by mia-0 · 0 comments

When creating or editing polls, the length of each option is limited to 50 characters, which seems unreasonably short for non-CJK locales. Furthermore, when that limit is exceeded, an unspecific error message is returned (“Invalid param. 3d81ceae-475f-4600-b2a8-2bc116157532”).

The maximum length should be increased, and a useful message returned to the client.

The frontend should also restrict field length to reflect this limitation.

When creating or editing polls, the length of each option is limited to 50 characters, which seems unreasonably short for non-CJK locales. Furthermore, when that limit is exceeded, an unspecific error message is returned (“Invalid param. 3d81ceae-475f-4600-b2a8-2bc116157532”). The maximum length should be increased, and a useful message returned to the client. The frontend should also restrict field length to reflect this limitation.
AntoineD added the
bug
label 2024-01-15 16:03:43 +01:00
AntoineD added this to the Mastodon Client API project 2024-01-15 16:03:55 +01:00
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: iceshrimp/iceshrimp#495
No description provided.