Bug 38634

Summary: marc21_framework_DEFAULT.yml refers to non-existant column biblioitems.cn_prefix
Product: Koha Reporter: Baptiste Wojtkowski (bwoj) <baptiste.wojtkowski>
Component: DatabaseAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Baptiste Wojtkowski (bwoj) 2024-12-05 14:52:17 UTC
In file installer/data/mysql/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.yml, there is following entry:

>  279         - tagfield: "942"
>  280           tagsubfield: "k"
>  281           liblibrarian: "Call number prefix"
>  282           libopac: "Call number prefix"
>  283           repeatable: 0
>  284           mandatory: 0
>  285           kohafield: biblioitems.cn_prefix
>  286           tab: 9
>  287           authorised_value: ""
>  288           authtypecode: ""
>  289           value_builder: ""
>  290           isurl:
>  291           hidden: 0
>  292           frameworkcode: ""
>  293           seealso: ""
>  294           link: ""
>  295           defaultvalue:

However the table does not exist in the DB. I have no clue on who is right.