Receive move/selected action fails for Serial Control Field

Bug #1730470 reported by Lucien van Wouw
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
High
Unassigned

Bug Description

On:
Evergreen ILS 3.0.1 ( Fork )
OpenSRF 3.0.0
Postgresql 9.5
Ubuntu Xenial

The following sequence of actions produces an error:
1. Shift-F3: Look for a TCN of a serial and pick.
2. Actions for this Record: Serial Control Field
3. Receive move/selected
4. Please enter a barcode for [volume description here]: OK
5. Please enter/adjust a call number for [the volume description here]: OK

An error appears on the Staff client console log:

Network or server failure. Please check your Internet connection to evergreen-acc-3-0-0.collections.iisg.org and choose Retry Network. If you need to enter Offline Mode, choose Ignore Errors in this and subsequent dialogs. If you believe this error is due to a bug in Evergreen and not network problems, please contact your help desk or friendly Evergreen administrators, and give them this information:
method=open-ils.serial.receive_items
params=["2a0351269c415d8a608bbcb099614e2d",[{"_c":"sitem","_p":[54940,
{"__c":"au","__p":[null,null,null,null,null,null,null,null,null,null,null,"t",null,"f",18,20,0,0,"2011-09-12T14:30:44+0200","0.00",null,null,null,null,"2015-04-18T00:00:00+0200","Bilgen","Mehmet",4,20,2,null,null,null,"1334751413.535872973.04866633121",18,"f",2,null,"020dad31609a6f873c3c0e5c35b510e5",null,null,13,null,1,null,"f",19,"mbi",null,"f",null,null,"f"]}
,
{"__c":"au","__p":[null,null,null,null,null,null,null,null,null,null,null,"t",null,"f",18,20,0,0,"2011-09-12T14:30:44+0200","0.00",null,null,null,null,"2015-04-18T00:00:00+0200","Bilgen","Mehmet",4,20,2,null,null,null,"1334751413.535872973.04866633121",18,"f",2,null,"020dad31609a6f873c3c0e5c35b510e5",null,null,13,null,1,null,"f",19,"mbi",null,"f",null,null,"f"]}
,"2017-09-20T14:33:12+0200","2017-09-20T14:33:12+0200",{"_c":"siss","_p":[56496,
{"__c":"au","__p":[null,null,null,null,null,null,null,null,null,null,null,"t",null,"f",18,20,0,0,"2011-09-12T14:30:44+0200","0.00",null,null,null,null,"2015-04-18T00:00:00+0200","Bilgen","Mehmet",4,20,2,null,null,null,"1334751413.535872973.04866633121",18,"f",2,null,"020dad31609a6f873c3c0e5c35b510e5",null,null,13,null,1,null,"f",19,"mbi",null,"f",null,null,"f"]}
,
{"__c":"au","__p":[null,null,null,null,null,null,null,null,null,null,null,"t",null,"f",18,20,0,0,"2011-09-12T14:30:44+0200","0.00",null,null,null,null,"2015-04-18T00:00:00+0200","Bilgen","Mehmet",4,20,2,null,null,null,"1334751413.535872973.04866633121",18,"f",2,null,"020dad31609a6f873c3c0e5c35b510e5",null,null,13,null,1,null,"f",19,"mbi",null,"f",null,null,"f"]}
,"2017-09-20T14:33:12+0200","2017-09-20T14:33:12+0200",
{"__c":"ssub","__p":[827,4,"2012-01-15T00:00:00+0100",null,1348829,null]}
,1125,"Vol.72:no.232(2017:Sep.28)","2017-09-28T00:00:00+0200","[\"4\",\"1\",\"8\",\"1.2\",\"a\",72,\"b\",232,\"i\",2017,\"j\",\"09\",\"k\",28,\"x\",\"AUTOGEN\"]","basic",null]},
{"__c":"sstr","__p":[825,827,"Rangeerterrein"]}
,"-1",null,"2017-09-28T00:00:00+0200",null,"Expected",[],"f"]}],
{"54940":"@@AUTO"}
,
{"54940":"ZF 41068"}
,{}]
THROWN:
{"payload":[],"debug":"osrfMethodException : *** Call to [open-ils.serial.receive_items] failed for session [1509970330.191976.150997033056926], thread trace [1]:\nCan't locate object method \"id\" via package \"827\" (perhaps you forgot to load \"827\"?) at /usr/local/share/perl/5.22.1/OpenILS/Application/Serial.pm line 1693.\n\n","status":500}

cmd_receive_items failed!

The Server log:
open-ils.serial_stderr.log
Caught error from 'run' method: Can't locate object method "id" via package "827" (perhaps you forgot to load "827"?) at /usr/local/share/perl/5.22.1/OpenILS/Application/Serial.pm line 1693.

Revision history for this message
Lucien van Wouw (lwo) wrote :

Additional
We do not see this error with:
Evergreen ILS 2.12.7 ( Fork )
OpenSRF 2.5.2
Postgresql 9.5
Ubuntu Xenial

Remington Steed (rjs7)
Changed in evergreen:
status: New → Confirmed
Revision history for this message
Dan Wells (dbw2) wrote :

Lucien, thank you for reporting this! This is a pretty serious regression that breaks an entire interface, so I apologize that this got through.

Potential fix available at working/user/dbwells/lp1730470_serial_receive_compat

http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/dbwells/lp1730470_serial_receive_compat

Changed in evergreen:
importance: Undecided → High
milestone: none → 3.0.3
Dan Wells (dbw2)
tags: added: pullrequest
Galen Charlton (gmc)
Changed in evergreen:
assignee: nobody → Galen Charlton (gmc)
Revision history for this message
Galen Charlton (gmc) wrote :

Signoff branch in user/gmcharlt/lp1730470_xul_serial_receive_signoff

tags: added: regression serials signedoff
Changed in evergreen:
assignee: Galen Charlton (gmc) → nobody
Revision history for this message
Mike Rylander (mrylander) wrote :

Picked into master and 3.0. Thanks, all!

Changed in evergreen:
status: Confirmed → Fix Committed
Changed in evergreen:
status: Fix Committed → Fix Released
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.