Koha/koha-tmpl/intranet-tmpl/lib/koha/cateditor
Nick Clemens 38e95c7769
Bug 35181: Don't pass undef to header
It seems passing an undef value causes the headers to be malformed.

To test:
1 - Visit http://localhost:8081/cgi-bin/koha/svc/bib/303
2 - Note 'Invalid-metadata' at top of page, as well as other headers
3 - Apply patch, restart all
4 - Visit http://localhost:8081/cgi-bin/koha/svc/bib/303
5 - Page should now appear as xml
6 - Edit record 303, or any record with valid metadata in the advanced cataloging editor
7 - Confirm there is no error or alert
8 - Edit record 369 in the advanced cataloging editor
9 - Confirm there is an alert

Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-11-06 08:42:46 -03:00
..
macros Bug 24789: Remove ITS macro format 2020-03-16 11:02:35 +00:00
koha-backend.js Bug 35181: Don't pass undef to header 2023-11-06 08:42:46 -03:00
macros.js Bug 24789: Remove ITS macro format 2020-03-16 11:02:35 +00:00
marc-editor.js Bug 32910: (follow-up) Replace v4 icon names with v6 2023-06-12 11:52:10 -03:00
marc-mode.js Bug 24452: Advanced editor - show multiple spaces visually 2020-01-23 10:24:53 +00:00
marc-record.js
preferences.js
resources.js Bug 17288 - Advanced Editor - Rancor - Helpers for 006 and 007 fields 2017-08-25 10:59:03 -03:00
search.js Bug 17515: Order Z3950 server by rank and preserve ordering 2020-11-02 11:03:09 +01:00
text-marc.js Bug 23045: Return record along with errors 2019-07-01 14:52:38 +01:00
widget.js Bug 30871: Add notes in advanced cataloging editor 2022-06-25 10:49:33 -03:00