]> 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:21:15 +0000 (23:21 -0500)
commit1ef57ea57c1109822f092e8f03bfa051783effdc
tree17dc978981149fd6b0149db5a7d01c5e0e8e9b3e
parent4f2604a7209613cc01acca1db91a79e2fe247803
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