Bug 38601

Summary: Framework default value for control fields not being passed to editor
Product: Koha Reporter: Esther Melander <esther.melander>
Component: CatalogingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: m.de.rooy, maxeinergl
Version: 24.05   
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 Esther Melander 2024-12-02 20:11:18 UTC
To recreate in 24.05

1. Use the basic editor to define the leader using the tag editor.
2. Copy the data in the field.
3. Edit the Default framework and paste the data into the 000 tag, default value field, save.
4. Go to the cataloging module and New Record, default framework.

See that the 000 Leader field is blank.

In 23.05 and 23.11, the field would contain the default value as assigned in the framework.

Possibly due to CSRF changes for 24.05?
Comment 1 Gretchen Maxeiner 2025-06-10 18:07:44 UTC
I think this might have fixed itself? I am on 24.11.03, tried the steps listed, and was able to successfully set leader defaults in my default framework and have them populate new records. I wanted a way to get past the outdated defaults in the marc21_leader.pl (encoding level 7, descriptive cataloging format a) and this worked for me.