Skip to content

Request-a-file form fails without further help, if the request message is to long #5878

Description

@EikLoe

Is your feature request related to a problem? Please describe.

Currently it is not visible for user, who many characters they're allowed to put in for the request message in the request-a-file form. If they're putting to many, the form will just fail with "Something went wrong [...]".

Describe the solution you'd like

It would be nice, if the frontend textarea field would respect the backend's request.item.email.message.maxlength setting and would react with a better error message.

Additional information

This came up while testing the DSpace/DSpace#12701 backend PR.

Metadata

Metadata

Assignees

Type

Fields

No fields configured for Bug.

Projects

Status
🏗 In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions