[Koha-bugs] [Bug 35181] Can no longer edit sample records with advanced cataloguing editor

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 2 11:59:35 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35181

--- Comment #2 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 158241
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=158241&action=edit
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

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list