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

Open
#5,878 0 comments 1 reaction 1 assignee View on GitHub

Maintainers usually reply within 1 day

@EikLoe is already working on this.

Since Jun 30, 2026.

Assessment

This issue has not been assessed yet.

Description

error handling improvement usability

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 https://github.com/DSpace/DSpace/pull/12701 backend PR.

Dominant language
TypeScript
Stars
180
Forks
577
Avg merge
2d 1h
Merged PRs (30d)
100

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DSpace/dspace-angular

All issues in DSpace/dspace-angular

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.