]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1086458: convert last-print information hash to JSON string before caching
authorGalen Charlton <gmc@esilibrary.com>
Mon, 14 Oct 2013 15:23:23 +0000 (08:23 -0700)
committerMike Rylander <mrylander@gmail.com>
Thu, 31 Oct 2013 15:34:03 +0000 (11:34 -0400)
commit7ef70a3e687e086275734ba4914b52c67d2e81b5
treef31011506e2b2da7a5988a12a1a0521ddfc3530d
parentc146a8ff3c5bc61665ae17203a0f313d7dc9a9bd
LP#1086458: convert last-print information hash to JSON string before caching

By serializing the printing message and context information to a
JSON string before caching it, we avoid inadvertantly dragging in
things like Javascript execution contexts and possibly references
to objects created by the checkout interface.  This was contributing
to the staff client memory leaks observed during receipt printing.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/xul/staff_client/chrome/content/util/print.js