Bugzilla – Attachment 191397 Details for
Bug 41481
XML validation error when launching the tag editor for MARC21 fields 006/008
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41481: Change Koha Community website URL scheme to https
Bug-41481-Change-Koha-Community-website-URL-scheme.patch (text/plain), 2.48 KB, created by
David Cook
on 2026-01-14 00:54:45 UTC
(
hide
)
Description:
Bug 41481: Change Koha Community website URL scheme to https
Filename:
MIME Type:
Creator:
David Cook
Created:
2026-01-14 00:54:45 UTC
Size:
2.48 KB
patch
obsolete
>From 693cad8479359c82754201424e7ed3d890bfce8b Mon Sep 17 00:00:00 2001 >From: Andreas Roussos <a.roussos@dataly.gr> >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 <david@davidnind.com> >Signed-off-by: David Cook <dcook@prosentient.com.au> >--- > 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 34456181131..a4ed57a7b63 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 @@ > > <!DOCTYPE stylesheet> > >-<xs:schema xmlns="http://koha-community.org" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://koha-community.org" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.1"> >+<xs:schema xmlns="https://koha-community.org" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="https://koha-community.org" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.1"> > <xs:annotation> > <xs:documentation>Control field plugin type of materials schema</xs:documentation> > </xs:annotation> >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 41481
:
190760
|
190762
| 191397