Bug 33212

Summary: Max length should be set to the size of the DB column when mapped
Product: Koha Reporter: Lisette Scheer <lisette>
Component: CatalogingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: lisette, m.de.rooy
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21009
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Lisette Scheer 2023-03-13 16:06:19 UTC
If a marc field is mapped to a koha field, such as 952 t, in the framework the max length can be set much higher than the koha field's max length. 

The max length in the framework should be set to the max length of the Koha field when mapped. 

Lisette
Comment 1 Katrin Fischer 2023-03-13 21:37:51 UTC
Hm, we might want to only do this for free text entry fields, AV should be ok, since the codes are already limited to a certain length.