Offline receipt printing fails with alert

Bug #1375907 reported by Bill Erickson
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Evergreen
Won't Fix
Undecided
Unassigned

Bug Description

Confirmed in Evergreen master; likely affects all versions.

Steps to reproduce:

1. Log in to the staff client.
2. Select Circulation -> Enter Offline Interface
3. Select the Checkout tab
4. Enter a patron barcode and an item barcode.
5. Click Enter to save the transaction
6. Ensure that "Print receipt" is checked.
7. Click "Save these transactions".
8. Staff client produces an alert with the error message "_print_tree"

Further inspection shows that in util/list.js:_print_tree(), the call to "params.lib.children(null)" fails because params.lib is not a fieldmapper object. The round-trip JSON stringify and parse causes the fieldmapper-ness of the object to be lost, presumably because the IDL is not accessible within the offline interface.

Note that this problem does not occur when accessing the offline UI directly from the login window.

Tags: standalone
Erica Rohlfs (erohlfs)
Changed in evergreen:
status: New → Confirmed
Revision history for this message
Terran McCanna (tmccanna) wrote :

See also:
https://bugs.launchpad.net/evergreen/+bug/1117316

This happens when the user hasn't gone into the printer settings editor and set up the printer settings for "offline" (and you can only change these settings when you are logged into the full client, so by the time you are using the standalone client it's too late).

tags: added: standalone
Revision history for this message
Terran McCanna (tmccanna) wrote :

Marking this "Won't Fix" as the same problem doesn't exist in the web client.

Changed in evergreen:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.