From 62cbb49ee784534ecc4dcf759f6175e088a3d0a6 Mon Sep 17 00:00:00 2001 From: Andreas Roussos Date: Mon, 29 Dec 2025 11:35:12 +0000 Subject: [PATCH] Bug 41481: Change Koha Community website URL scheme to https Since version 25.11.00 (also valid in current main), while adding or editing a record, launching the plug-in to help complete the MARC21 006/008 fields results in a browser pop-up with the message "Can't validate the xml data from (...)/marc21_field_00{6,8}.xml". The actual problem lies with how the value builder plugins (marc21_field_00{6,8}.pl) try to validate the relevant XML files against the Schema Definition (marc21_field_CF.xsd), the latter containing two references to the K-C.org website that still use the 'http' URL scheme. This patch fixes that. Test plan: 1) In a MARC21 instance, create a new record by going to: Cataloging > New record > Books, Booklets, Workbooks, then click inside the 008 field so it becomes populated. 2) Click the Tag editor icon next to field 008. Notice how you get a pop-up window in your browser with the error: "Can't validate the xml data from (...)/marc21_field_008.xml". 3) Apply this patch. 4) Repeat step 2) -- this time the tag editor should launch correctly. 5) For extra credit, repeat the Test plan this time testing field 006 -- its tag editor should work without problems after applying the patch. Signed-off-by: David Nind --- koha-tmpl/intranet-tmpl/prog/en/data/marc21_field_CF.xsd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/data/marc21_field_CF.xsd b/koha-tmpl/intranet-tmpl/prog/en/data/marc21_field_CF.xsd index 3445618113..a4ed57a7b6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/data/marc21_field_CF.xsd +++ b/koha-tmpl/intranet-tmpl/prog/en/data/marc21_field_CF.xsd @@ -2,7 +2,7 @@ - + Control field plugin type of materials schema -- 2.39.5