Bug 39012

Summary: Koha fails to import default MARC bibliographic framework
Product: Koha Reporter: Janusz Kaczmarek <januszop>
Component: MARC Bibliographic data supportAssignee: Janusz Kaczmarek <januszop>
Status: Pushed to main --- QA Contact: Marcel de Rooy <m.de.rooy>
Severity: normal    
Priority: P5 - low CC: m.de.rooy, phil
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: Trivial patch Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
25.05.00
Circulation function:
Attachments: Bug 39012: Koha fails to import default MARC bibliographic framework
Bug 39012: Koha fails to import default MARC bibliographic framework
Bug 39012: Koha fails to import default MARC bibliographic framework
Bug 39012: Koha fails to import default MARC bibliographic framework

Description Janusz Kaczmarek 2025-01-31 21:34:57 UTC
Koha fails to import default MARC bibliographic framework.

To reproduce:
1. Have an exported framework file.
2. In  Administration > MARC bibliographic frameworks try to import it into Default framework.
3. This will fail, with a redirect to a strange looking page, and with lots of errors in the logs.
Comment 1 Janusz Kaczmarek 2025-01-31 21:42:00 UTC
Created attachment 177414 [details] [review]
Bug 39012: Koha fails to import default MARC bibliographic framework

Test plan:
==========
1. In Administration > MARC bibliographic, from framework  menu on the
   right, prepare a csv file with framework export.
2. Try to import the fili into Default framework.
3. This should fail, with a redirect to a strange looking page, and
   with lots of errors in the logs.
4. Apply the patch ; restart all.
5. Repeat p. 2. You should succeed and you should be able to see the
   differences in the framework (if you exported from a different
   framework).
Comment 2 Phil Ringnalda 2025-01-31 22:16:19 UTC
Created attachment 177433 [details] [review]
Bug 39012: Koha fails to import default MARC bibliographic framework

Test plan:
==========
1. In Administration > MARC bibliographic, from framework  menu on the
   right, prepare a csv file with framework export.
2. Try to import the fili into Default framework.
3. This should fail, with a redirect to a strange looking page, and
   with lots of errors in the logs.
4. Apply the patch ; restart all.
5. Repeat p. 2. You should succeed and you should be able to see the
   differences in the framework (if you exported from a different
   framework).

Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org>
Comment 3 Janusz Kaczmarek 2025-02-21 08:13:04 UTC
Created attachment 178448 [details] [review]
Bug 39012: Koha fails to import default MARC bibliographic framework

Test plan:
==========
1. In Administration > MARC bibliographic, from framework  menu on the
   right, prepare a csv file with framework export.
2. Try to import the fili into Default framework.
3. This should fail, with a redirect to a strange looking page, and
   with lots of errors in the logs.
4. Apply the patch ; restart all.
5. Repeat p. 2. You should succeed and you should be able to see the
   differences in the framework (if you exported from a different
   framework).

Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org>
Comment 4 Janusz Kaczmarek 2025-02-21 08:17:53 UTC
Rebased, tidied.
Comment 5 Marcel de Rooy 2025-02-21 08:24:19 UTC
Created attachment 178449 [details] [review]
Bug 39012: Koha fails to import default MARC bibliographic framework

Test plan:
==========
1. In Administration > MARC bibliographic, from framework  menu on the
   right, prepare a csv file with framework export.
2. Try to import the fili into Default framework.
3. This should fail, with a redirect to a strange looking page, and
   with lots of errors in the logs.
4. Apply the patch ; restart all.
5. Repeat p. 2. You should succeed and you should be able to see the
   differences in the framework (if you exported from a different
   framework).

Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Comment 6 Katrin Fischer 2025-02-21 15:44:54 UTC
Pushed for 25.05!

Well done everyone, thank you!