Koha-clms/cataloguing
Nick Clemens 8c66e6ef72
Bug 42512: Pass already checked/cleaned MARC::Record to Metadata Extractor
To test:
1 - In Koha testing docker record 369 has invalid xml, otherwise corrupt a record like:
    sudo koha-mysql kohadev
    UPDATE biblio_metadata SET metadata = UpdateXML(metadata, '//datafield[@tag="040"]/subfield[@code="c"]',CONCAT('<subfield code',CHAR(27),'="c">OSt</subfield>')) WHERE
 biblionumber=438;
2 - View the record in the staff client - note bad metadata message
    http://localhost:8081/cgi-bin/koha/catalogue/detail.pl?biblionumber=438
3 - Click 'Edit'
4 - Error 500, in logs:
    Invalid data, cannot decode metadata object
5 - Apply patch, restart all
6 - Reload record and click edit
7 - Success! Message about bad metadata, but can edit/save

Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org>
Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2026-08-10 14:56:44 -06:00
..
value_builder Bug 42764: Fix spelling errors across the codebase 2026-06-11 09:53:34 -06:00
addbiblio.pl Bug 42512: Pass already checked/cleaned MARC::Record to Metadata Extractor 2026-08-10 14:56:44 -06:00
addbooks.pl Bug 41989: Call getlanguage after get_template_and_user 2026-03-19 10:52:24 +00:00
additem.pl Bug 32773: Add fast cataloging support for multiple frameworks 2026-05-08 16:05:36 -06:00
cataloging-home.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
concerns.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
editor.pl Bug 40841: Implement library limits on Z39.50 searches 2026-03-26 14:21:28 +01:00
linkitem.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
merge.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
merge_ajax.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
moveitem.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
plugin_launcher.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
ysearch.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
z3950_auth_search.pl Bug 40841: Implement library limits on Z39.50 searches 2026-03-26 14:21:28 +01:00
z3950_search.pl Bug 40841: Implement library limits on Z39.50 searches 2026-03-26 14:21:28 +01:00