Bug 38651 - Koha MARC Framework Issue: Default Framework Fields Loading Instead of Selected Custom Framework (24.05)
Summary: Koha MARC Framework Issue: Default Framework Fields Loading Instead of Select...
Status: In Discussion
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-07 12:02 UTC by Mehmet Faruk Akgül
Modified: 2025-05-05 08:32 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 Mehmet Faruk Akgül 2024-12-07 12:02:51 UTC
Hello Koha Community,

I am encountering an issue related to MARC framework behavior in Koha version 24.05. Here is the detailed explanation of the problem:

Background:

We have a custom framework called Kitap Çerçevesi (MRB), which is assigned to all of our bibliographic records.
The frameworkcode field in the biblio table confirms that all records are linked to the MRB framework.
No records use the Default Framework (Varsayılan Çerçeve).
Issue Description:

When I edit a bibliographic record, the MRB framework is shown as selected in the "Change framework" dropdown menu.
However, the fields displayed in the editing interface are from the Default Framework (Varsayılan Çerçeve), not from MRB.
This behavior persists even though the records are correctly assigned to the MRB framework in the database.
What We Tried:

Ensured that all records are linked to MRB in the frameworkcode field.
Attempted to reconfigure and minimize the Default Framework's fields to ensure MRB would load correctly.
Restarted the Koha services (Plack, Apache).
Exported and re-imported the MRB framework to refresh its configuration.
Checked log files (plack-error.log) but did not find any related errors.
Observed Behavior:

The editing interface always loads the fields from the Default Framework (Varsayılan Çerçeve), regardless of the selected framework.
Selecting MRB again from the dropdown menu does not refresh the fields to the correct framework.
Steps to Reproduce:

Create a bibliographic record using a custom framework (e.g., MRB).
Save and edit the record.
Observe that the fields loaded in the editing interface belong to the Default Framework instead of the custom framework, even though the dropdown menu indicates the custom framework is selected.
Request for Help:

Is this a known issue or bug in Koha 24.05?
Are there any configuration changes or patches that can resolve this behavior?
If this is not a bug, could you suggest any solutions or workarounds to force Koha to load the correct framework fields in the editing interface?
Thank you for your help and support!
Best regards
Mehmet Faruk Akgul
Mirakil Data Processing
Comment 1 Katrin Fischer 2024-12-07 15:36:41 UTC
Hi, there have been several fixes to the behavior of the MARC framework selection in the 24.05 version since it's first release. Which is your exact version? Please check the release notes of .01 - .05.
Comment 2 Katrin Fischer 2024-12-07 15:44:05 UTC
I was thinking of:

Bug 38211 - New bibliographic record in non-default framework opens in default on first edit

I am not sure if that fixes your issue, but it might be worth trying. It's included in the latest bug fix release 24.05.05.
Comment 3 Fridolin Somers 2025-05-05 08:23:56 UTC
I think I found the code to fix
Comment 4 Fridolin Somers 2025-05-05 08:31:52 UTC
(In reply to Fridolin Somers from comment #3)
> I think I found the code to fix

Ah no sorry, not the same issue, I opened Bug 39827