]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1442276 output_as_chars() instead of toString
authorDan Scott <dscott@laurentian.ca>
Sun, 5 Mar 2017 16:45:12 +0000 (11:45 -0500)
committerDan Scott <dscott@laurentian.ca>
Sun, 12 Mar 2017 04:19:40 +0000 (23:19 -0500)
commite5671114210c8d089c5e8a2eb888532541149463
tree0c01fc58e8049bb5bb1a6ca20cc670e1f9d7d8e5
parent09a3ae2c1eb904fe03dc41bf71d57fc419bb04b3
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