Claims Returned items cannot be renewed when not in a checked out status
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Confirmed
|
Medium
|
Unassigned |
Bug Description
In https:/
The code does indeed fix the problem with renewals under default Evergreen behavior where claims returned items retain a status of checked out.
However, there is a library setting that allows sites to put Claims Returned items into an alternate copy status. If staff try renewing items at those sites, they will continue to get an ugly error message.
I tried two different scenarios. In the case where sites set Claims Returned item to go to the stock status of missing, I received the following error message when trying to renew the item:
[
{
"stacktrace"
"ilsevent"
"pid":"14504",
"desc":" Copy is not available ",
"payload":
{
"__c":"acp",
"__p":
[
null,
null,
"G880400001
1542,
null,
4,
null,
"t",
null,
"2015-
"2015-
1,
"f",
null,
"f",
"0.00",
null,
null,
"now",
1,
1,
"t",
4112,
1,
146,
"t",
null,
"f",
{
"__c":"ccs",
"__p":
[
"t",
7,
"Reshelving",
"t",
"t",
"f"
]
}
,
"2015-
"t",
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
[
]
]
}
,
"textcode"
"servertime":"Tue Sep 1 14:38:15 2015"
}
,
{
"stacktrace"
"ilsevent"
"pid":"14504",
"desc":" Target copy is not allowed to circulate ",
"payload":
{
"fail_
}
,
"textcode"
"servertime":"Tue Sep 1 14:38:15 2015"
}
,
{
"stacktrace"
"ilsevent"
"pid":"14504",
"desc":"Copy is marked as missing",
"payload":
{
"__c":"acp",
"__p":
[
null,
null,
"G880400001
1542,
null,
4,
null,
"t",
null,
"2015-
"2015-
1,
"f",
null,
"f",
"0.00",
null,
null,
"now",
1,
1,
"t",
4112,
1,
146,
"t",
null,
"f",
{
"__c":"ccs",
"__p":
[
"t",
7,
"Reshelving",
"t",
"t",
"f"
]
}
,
"2015-
"t",
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
[
]
]
}
,
"textcode"
"servertime":"Tue Sep 1 14:38:15 2015"
}
,
{
"stacktrace"
"ilsevent"
"pid":"14504",
"desc":" Requested circulation is marked claims returned ",
"textcode"
"servertime":"Tue Sep 1 14:38:15 2015"
}
]
In another instance, I tried to renew a claims returned item in a scenario where a site moves Claims Returned items to a custom status (Claimed Returned). I receive the following error message when trying to renew:
Network or server failure. Please check your Internet connection to mlnc1.mvlcstaff.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=
params=
THROWN:
{"payload"
STATUS:
Changed in evergreen: | |
status: | New → Confirmed |
tags: | added: circulation |
Confirming that this happens on our 2.9.1 system. We have the org unit setting set to use the custom status "Claimed Returned". I don't see the "Network or server failure" message, but do get an Unhandled error. The debug output is essentially what Kathy posted above. Including it here:
Please open a helpdesk ticket and include the following text:
Wed May 25 2016 11:31:51 GMT-0400 (Eastern Daylight Time)
Renew Failed for 31729001506507
[
{ :"/usr/ local/share/ perl/5. 14.2/OpenILS/ Application/ Circ/Circulate. pm:3626 /usr/local/ share/perl/ 5.14.2/ OpenILS/ Application/ Circ/Circulate. pm:268 /usr/local/ share/perl/ 5.14.2/ OpenSRF/ Application. pm:594" , :"MAX_RENEWALS_ REACHED" ,
"stacktrace"
"ilsevent":"7008",
"pid":"16702",
"desc":" Circulation has no more renewals remaining ",
"textcode"
"servertime":"Wed May 25 11:27:48 2016"
}
,
{ :"/usr/ local/share/ perl/5. 14.2/OpenILS/ Application/ Circ/Circulate. pm:1006 /usr/local/ share/perl/ 5.14.2/ OpenILS/ Application/ Circ/Circulate. pm:3716 /usr/local/ share/perl/ 5.14.2/ OpenILS/ Application/ Circ/Circulate. pm:3668" ,
"stacktrace"
"ilsevent":"7004",
"pid":"16702",
"desc":" Copy is not available ",
"payload":
{
"__c":"acp",
"__p":
[
null,
"",
"31729001506507",
{ 26T09:19: 55-0400" , 21T11:26: 47-0400" ,
"__c":"acn",
"__p":
[
null,
"2012-05-
1,
"f",
"2013-10-
1,
2538840,
"Tigger Movie",
68,
1944821,
null,
null,
null,
"TIGGER MOVIE",
1,
1349,
-1
]
} 20T00:00: 00-0400" , 26T09:19: 55-0400" ,
,
null,
68,
"childrensdvd",
"t",
1,
"2005-05-
"2012-05-
1,
"f",
null,
"f",
"0.00",
null,
null,
"now",
1,
2,
"t",
5958745,
2,
828,
"t",
"16.99",
"f",
{
"__c":"ccs",
"__p":
[
"t",
7,
"Reshelving",
"t",
"t",
"f"
]
} 25T11:27: 35-0400" ,
,
"2016-05-
"t",
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
[
]
]
} :"COPY_ NOT_AVAILABLE" ,
,
"textcode"
"servertime":"Wed May 25 11:27:48 2016"
}
,
{ :"/usr/ local/share/ perl/5. 14.2/OpenILS/ Application/ Circ/Circulate. pm:3521 /usr/local/ share/perl/ 5.14.2/ OpenILS/ Application/ Circ/Circulate. pm:2353 /usr/local/ share/perl/ 5.14.2/ OpenILS/ Application/ Circ/Circulate. pm:3671" ,
"stacktrace"
"ilsevent":"1203",
"pid":"16702",
"desc":"The given copy is not in a standard circulation status",
"payload":
{
"__c":"acp",
"__p":
[
null,
"",
"31729001506507",
{ 26T09:19: 55-0400" , 21T11:26: 47-0400" ,
"__c":"acn",
"__p":
[
null,
"2012-05-
1,
"f",
"2013-10-
1,
2538840,
"Tigger Movie",
68,
1944821,
null,
null,
null,
"TIGGER MOVIE",
1,
1349,
-1
]
} 20T00:00: 00-0400" , 26T09:19: 55-0400" ,
,
null,
68,
"childrensdvd",
"t",
1,
"2005-05-
"2012-05-
1,
"f",
null,
"f",
"0.00",
null,
null,
"now",
1,
2,
"t",
5958745,
2,
828,
"t",
"16.99",
"f",
{
"__c":"ccs",
"__p":
[
"t",
7,
"Reshelving",
"t",
"t",
"f"
]
} 25T11:27: 35-0400" ,
,
"2016-05-
"t",
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
null,
[
]
]
} :"COPY_ BAD_STATUS" ,
,
"textcode"
"servertime":"Wed May 25 11:27:48 2016"
}
,
{ :"/usr/ local/share/ perl/5. 14.2/OpenILS/ Application/ Circ/Circulate. pm:2356 /usr/local/ share/perl/ 5.14.2/ OpenILS/ Application/ Circ/Circulate. pm:3671 /usr/local/ share/perl/ 5.14.2/ OpenILS/ Application/ Circ/Circulate. pm:268" , :"CIRC_ C...
"stacktrace"
"ilsevent":"7009",
"pid":"16702",
"desc":" Requested circulation is marked claims returned ",
"textcode"