]> 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)
committerDan Wells <dbw2@calvin.edu>
Tue, 15 Oct 2013 20:46:04 +0000 (16:46 -0400)
commit09f8847f4dac346c76df9adb617eab2dade65f3d
treecc0df025f6964eecc86b0046f8ec4111efd959c4
parent55e1bf14026636ab4f4c96e18b494eac0a3e12c9
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: Dan Wells <dbw2@calvin.edu>
Open-ILS/xul/staff_client/chrome/content/util/print.js