]> git.evergreen-ils.org Git - Evergreen.git/commit
LP 1306666: Abort Transit Only Change Copy Status if In Transit
authorJason Stephenson <jstephenson@mvlcstaff.org>
Fri, 18 Mar 2016 20:38:33 +0000 (16:38 -0400)
committerMike Rylander <mrylander@gmail.com>
Wed, 24 Aug 2016 12:09:37 +0000 (08:09 -0400)
commitcfe51102658515a4f6253f1f205a97e766d169b0
tree6bb1d074b15963548abd692cb738e61b68f99bd1
parent2888b409b32cfe541247cc2e39ba23d0e19170c6
LP 1306666: Abort Transit Only Change Copy Status if In Transit

When aborting a transit, the copy status is presently changed, either
to the status stored in action.transit_copy or to Reshelving if the
transit was for a hold.  This causes problems with "hanging" transits
where something was not handled properly before.  We've had cases
where a transit sticks around on a copy that is later checked out, and
while that copy is checked out, the transit is aborted, thus setting
the copy status to Reshelving when it should be Checked Out.

The code change in this branch only changes the copy's status if it is
In Transit.  A copy in any other status has its status left untouched.

Signed-off-by: Jason Stephenson <jstephenson@mvlcstaff.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Transit.pm