[Koha-bugs] [Bug 25805] SIP will show hold patron name (DA) as something like C4::SIP::SIPServer=HASH(0x88175c8) if there is no patron

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 19 14:33:23 CEST 2020


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

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

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

--- Comment #5 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 106079
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=106079&action=edit
Bug 25805: SIP will show hold patron name (DA) as something like
C4::SIP::SIPServer=HASH(0x88175c8) if there is no patron

This bug is basically the same as bug 24966, but for hold_patron_name instead
of hold_patron_bcode.
The subroutine hold_patron_bcode should always return an empty string, not
undef.

Test Plan:
1) Using the SIP cli emulator, checkin an item that is not checked out
2) Note the DA field contains someting like
"C4::SIP::SIPServer=HASH(0x88175c8)"
   The hex number will almost certainly be different from this example
3) Apply this patch
4) Restart the SIP server
5) Run the SIP checkin again
6) Note the DA field is no longer present!

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

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


More information about the Koha-bugs mailing list