https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22322 Emmi Takkinen <emmi.takkinen@koha-suomi.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #198999|0 |1 is obsolete| | --- Comment #44 from Emmi Takkinen <emmi.takkinen@koha-suomi.fi> --- Created attachment 211686 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211686&action=edit Bug 22322: Handle setting transfer status correctly If one checked in an item which has a hold and which should be put in transfer, reason for transfer was set as "ResFound". This has been replaced with "Reserve" and using wrong reason parameter lead to error "The reason parameter is mandatory". Also if wrong transfer was detected, SCO would fail with error since branch where item should be transfered couldn't be determined just using the old transfers branchcode. To test: 1. Apply this patch. 2. Find a checked out item with current library as library A and has a hold with pick up library as library B. 3. Return item via SCO check in from SCO main page. => Item should be checked in succesfully. => Confirm from biblios Hold page that item is now in transit to library B. 4. Find an item which is in transit from a branch A to B. 5. Make sure you're logged in to SCO from branch C and attempt to return item via SCO Check in input field. => Confirm no error occurs and "Item not checked in:..." message is displayed. => Confirm from database with following query that wrong transfer was detected and new one was made: SELECT * FROM branchtransfers WHERE itemnumber = [itemnumber of checked in item]; Sponsored-by: Koha-Suomi Oy -- You are receiving this mail because: You are watching all bug changes.