LP#1442276 output_as_chars() instead of toString user/dbs/lp1442276_decorrupt_mods3_ris
authorDan Scott <dscott@laurentian.ca>
Sun, 5 Mar 2017 16:45:12 +0000 (11:45 -0500)
committerDan Scott <dscott@laurentian.ca>
Sun, 5 Mar 2017 16:52:14 +0000 (11:52 -0500)
commit5f606e37ccd5ac24b4ab3eb42778b7cfcfd3581a
treef9ddde0df45cca5cb731af672d540ab49d72b4e5
parent10c96bf296ccd171eb641be11cebf710b627bd6f
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>
Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm