Bug 38601 - Framework default value for control fields not being passed to editor
Summary: Framework default value for control fields not being passed to editor
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: 24.05
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-02 20:11 UTC by Esther Melander
Modified: 2025-06-10 18:07 UTC (History)
2 users (show)

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