Bug 33212 - Max length should be set to the size of the DB column when mapped
Summary: Max length should be set to the size of the DB column when mapped
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-13 16:06 UTC by Lisette Scheer
Modified: 2023-03-13 21:37 UTC (History)
2 users (show)

See Also:
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 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.