[Koha-bugs] [Bug 27589] Error when specifying CR field in SIP Config

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 4 13:06:22 CET 2021


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

--- Comment #2 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 116312
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=116312&action=edit
Bug 27589: Access item fields as hash

SIP item stores the item unblessed so field must be accessed as a hashref

This patch changes the code in handle_item_information to match the code in
handle_checkin

To test:
1 - In sip config set the cr_item_field='itype' for a sip account
2 - Restart SIP
3 - Attempt an item information requests using the sip_cli_emulator
     perl misc/sip_cli_emulator.pl -a localhost -p 6001 -su term1 -sp term1 -l
CPL -m item_information --item 39999000011791
4 - It fails!
5 - Apply patch and restart
6 - It succeeds!

-- 
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