Bug 36153

Summary: Increase allowed length of authorized value descriptions
Product: Koha Reporter: Aleisha Amohia <aleisha>
Component: System AdministrationAssignee: Aleisha Amohia <aleisha>
Status: Failed QA --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: david, gmcharlt
Version: Main   
Hardware: All   
OS: All   
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
Bug 36153: Schema updates

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
.....