Koha-clms/catalogue
Marcel de Rooy e93bb2958d
Bug 40559: Fix noisy warning in MARCdetail
Rebased for 25.06.
Resolves:
    Use of uninitialized value in string eq at /usr/share/koha/catalogue/MARCdetail.pl line 203.

Test plan:
Make sure that there is a combination of framework/field/subfield having
an entry in marc_subfield_structure where kohafield is NULL.
To force this for default fw on 020$q:
    update marc_subfield_structure
    set kohafield=NULL
    where tagfield='020' and tagsubfield='q' and frameworkcode='';
Pick a biblio in this framework having that field/subfield. Or create
a 020 with $q filled. Hit catalogue/MARCdetail now.
Without this patch, it triggers the warn. With this patch, it does not.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 40d1cdeeb1)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
(cherry picked from commit 96c574853d)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2025-12-02 11:24:04 +01:00
..
ISBDdetail.pl Bug 31224: Update instances of metadata->record 2024-11-07 16:29:23 +01:00
MARCdetail.pl Bug 40559: Fix noisy warning in MARCdetail 2025-12-02 11:24:04 +01:00
detail.pl Bug 20411: Remove StaffDetailItemSelection system preference 2024-08-26 17:39:46 +02:00
export.pl Bug 39485: Fix wide character in print-warn in opac-export 2025-09-29 09:55:22 +02:00
getitem-ajax.pl
…
image.pl Bug 36511: Some scripts missing a dependency following Bug 24879 2024-04-10 09:09:50 +02:00
imageviewer.pl
…
issuehistory.pl
…
item-export.pl
…
itemsearch.pl Bug 14322: (follow-up) Perl tidy 2024-08-26 17:39:50 +02:00
labeledMARCdetail.pl Bug 36834: (Bug 29697 follow-up) Koha explodes when trying to open in Labeled MARC view a bibliographic record with an invalid biblionumber 2024-05-21 13:39:49 +02:00
moredetail.pl Bug 27919: (QA follow-up): Add alerts to the UI to show there are return claims 2024-10-22 12:06:51 +02:00
search-history.pl Bug 34478: Rename action with op - catalogue/search-history 2024-03-01 10:56:38 +01:00
search.pl Bug 38846: Only call getLanguages for advanced search pages 2025-04-22 23:01:34 +02:00
showelastic.pl Bug 35618: Remove deprecated parameter "type" from showelastic.pl page 2023-12-28 12:16:12 +01:00
showmarc.pl
…
stockrotation.pl Bug 36193: cud- treatment for catalogue/stockrotation.pl 2024-03-12 17:47:32 +01:00
updateitem.pl Bug 35906: (QA follow-up) Refactor (slightly) to reduce complexity in Koha/Item(s).pm, catalogue/updateitem 2024-10-25 15:34:44 +02:00