LP#1442276 output_as_chars() instead of toString
authorDan Scott <dscott@laurentian.ca>
Sun, 5 Mar 2017 16:45:12 +0000 (11:45 -0500)
committerKathy Lussier <klussier@masslnc.org>
Sat, 11 Mar 2017 03:51:32 +0000 (22:51 -0500)
commit9699b03c9419733440e0381f0ec03f22eb1db09c
tree82dc95ce8885ef30711514a0dcfda3e5298194d4
parent6d38a008ba6047d1660fa0fff32a33703ada8380
LP#1442276 output_as_chars() instead of toString

The SuperCat transform methods for records retrieved by record ID or ISBN call
toString on the XSLT output object, which results in a byte string and thus
corrupted output. Instead, call output_as_chars() on the stylesheet object to
generate a character string and avoid corruption.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm