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)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 25 Mar 2022 13:52:21 +0000 (09:52 -0400)
commit1ff478cc968011e6952a976a0a8b9b412f2f6ced
tree700f76c505a282328925f2a7d3797ab51f9ba6a4
parentf53a48e4ffd3f252f800f23539672ee6976304e0
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>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
catalogue/detail.pl