[Koha-bugs] [Bug 25227] SIP server returns wrong error message if item was lost and not checked out

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 27 09:39:05 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25227

Frédéric Demians <frederic at tamil.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #103363|0                           |1
        is obsolete|                            |

--- Comment #2 from Frédéric Demians <frederic at tamil.fr> ---
Created attachment 103739
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=103739&action=edit
Bug 25227: SIP server returns wrong error message if item was lost and not
checked out

Even if a library allows returns of lost items, the SIP server returns the
error message "Item lost, return not allowed" if the checkin was not ok for any
reason other than it being withdrawn ( and withdrawn items not being returnable
).

The most clear example of this is that when a lost item is not checked out to a
patron and is returned. SIP returns that message even though lost items *can*
be returned. The actual problem being that the item was not checked out.

Test Plan:
1) Ensure you can return lost items
2) Mark an item as lost
3) Check it in via SIP
4) Note the message you get back is "Item lost, return not allowed"
5) Apply this patch
6) Restart your SIP server
7) Repeat steps 2 and 3
8) Note you no longer get the incorrect message!

Signed-off-by: Frédéric Demians <f.demians at tamil.fr>

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list