Bug 30008: (bug 29690 follow-up) Fix Invalid data, cannot decode metadata object
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 17 Mar 2022 15:19:16 +0000 (16:19 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 22 Mar 2022 20:17:34 +0000 (10:17 -1000)
commit94063fb40e1bd5a4c452001d37acb29fff608e2c
treeff1e3e32afd1b47451ee0292afabdc63e1788f73
parentd8a20d5edfd83e023471e35e49743d735bfba746
Bug 30008: (bug 29690 follow-up) Fix Invalid data, cannot decode metadata object

Test plan:
1 - Find a record in the staff catalog
2 - Edit the record
3 - In the 520 notes field, add an ASCII escape character (27 decimal, 1b hex)
    On ubuntu Ctrl+Shift+u, then 1b, enter
4 - Save the record
5 - Set syspref ShowComponentRecords to 'both...'
6 - On record details: New->New child record
7 - Save the record
8 - Attempt to view the parent record in the staff client and opac

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
catalogue/detail.pl