Bug 36153 - Increase allowed length of authorized value descriptions
Summary: Increase allowed length of authorized value descriptions
Status: Failed QA
Alias: None
Product: Koha
Classification: Unclassified
Component: System Administration (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Aleisha Amohia
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-22 20:28 UTC by Aleisha Amohia
Modified: 2024-02-24 23:06 UTC (History)
2 users (show)

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


Attachments
Bug 36153: Increase allowed length of authorized value descriptions to 400 chars (5.94 KB, patch)
2024-02-22 22:26 UTC, Aleisha Amohia
Details | Diff | Splinter Review
Bug 36153: Schema updates (1.85 KB, patch)
2024-02-22 22:26 UTC, Aleisha Amohia
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Aleisha Amohia 2024-02-22 20:28:44 UTC
The descriptions for authorized values cannot be more than 200 characters - some options need to be longer, i.e. Indigenous descriptions
Comment 1 Aleisha Amohia 2024-02-22 22:26:06 UTC
Created attachment 162352 [details] [review]
Bug 36153: Increase allowed length of authorized value descriptions to 400 chars

Sometimes 200 characters is not enough for a description. This patch increases the maximum length for authorized value descriptions to 400 characters

To test:
1) Install database updates and restart services. You may need to rebuild schema files.
2) Go to Koha Administration -> Authorized values.
3) Choose an authorised value category and go to add a new value to it
4) Confirm the Description fields for both the OPAC and staff interface will allow you to input and save descriptions that are over 200 characters, up to 400 characters

Sponsored-by: Education Services Australia SCIS
Comment 2 Aleisha Amohia 2024-02-22 22:26:08 UTC
Created attachment 162353 [details] [review]
Bug 36153: Schema updates
Comment 3 David Nind 2024-02-24 23:06:58 UTC
I'm getting a "sha1 information is lacking or useless" error when trying to apply the patch.

git bz apply 36153

Bug 36153 - Increase allowed length of authorized value descriptions

162352 - Bug 36153: Increase allowed length of authorized value descriptions to 400 chars
162353 - Bug 36153: Schema updates

Apply? [(y)es, (n)o, (i)nteractive] y
Applying: Bug 36153: Increase allowed length of authorized value descriptions to 400 chars
error: sha1 information is lacking or useless (koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt).
error: could not build fake ancestor
Patch failed at 0001 Bug 36153: Increase allowed length of authorized value descriptions to 400 chars
.....