Webby: Transit slip printing with wrong information
Bug #1786104 reported by
Blake GH
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Spawning a new bug because bug 1740537 is finished. We have upgraded to 3.0.9 which included the code for bug 1740537 and we are still getting transits to the wrong library and/or second checkin scan resulting in the correct information on the printed slip.
See comment https:/
"Upgraded to 3.0.9 July 4th. We are still seeing transit slips getting printed with the wrong information. The second scan results in the correct information."
tags: | removed: webstaffclient |
To post a comment you must log in.
We are seeing way more items with multiple active transits in the web client. I was working on pinpointing why and I discovered a scenario that produced the wrong information on the transit dialog/slip even after the fix for bug 1740537.
I found that if an item has multiple active transits, and the newest transit belongs to a targeted/captured hold, the transit dialog and slip contain the following:
The library name of the newest destination and the holds address of the oldest destination.
Obviously I can't guarantee this is the only time this information becomes mismatched, but hopefully it's a step closer to solving the problem.
I ran this query to find items in my system that meet this criteria:
SELECT distinct copy.id as "Copy ID", copy.barcode as "Copy Barcode", hold_transit_ copy trans2 ON trans2. target_ copy=trans. target_ copy trans.target_ copy send_time< trans2. source_ send_time recv_time IS NULL AND trans.cancel_time IS NULL dest_recv_ time IS NULL AND trans2.cancel_time IS NULL >trans2. dest t_time IS NULL copy=trans. target_ copy
ou1.name as "Destination 1", ou2.name as "Destination 2"
FROM action.transit_copy trans
JOIN action.
JOIN actor.org_unit ou1 ON ou1.id=trans.dest
JOIN actor.org_unit ou2 ON ou2.id=trans2.dest
JOIN asset.copy ON copy.id=
JOIN action.hold_request hold ON hold.id=trans2.hold
WHERE trans.source_
AND trans.dest_
AND trans2.
AND trans.dest<
AND hold.cancel_time IS NULL AND hold.fulfillmen
AND hold.current_
The slip will print the name of Destination 2 and address of Destination 1.
See also bug 1775276 regarding the incorrect information displaying in the "Route To" field of Check In. If an item has multiple transits, the "Route To" field will only display the older destination.
Note that if you are testing this, you may want to refresh the screen after you check an item in. If a second item with multiple active transits is checked in, then sometimes "We do not have a holds address for this library." displays.