Bug 39402 - Mismatch between basket name length in HTML and database (+ the length could be bumped)
Summary: Mismatch between basket name length in HTML and database (+ the length could ...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: Main
Hardware: All All
: P5 - low trivial
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-21 01:42 UTC by Michał
Modified: 2025-03-21 01:44 UTC (History)
0 users

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał 2025-03-21 01:42:15 UTC
In HTML we have it limited to 80:

<input type="text" name="basketname" id="basketname" size="40" maxlength="80" value="" required="required" class="focus required valid" aria-invalid="false">

but in database aqbasket.basketname is limited to 50 for some reason. This results in the user being able to input more characters and the last 30 characters will then be SILENTLY TRUNCATED.

The max length of the value in database should be expanded to at least 80 to match up the HTML (potentially to even more?).