[Koha-bugs] [Bug 17452] New: Checking in item at remote location via SIP does not trigger branch transfer

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 14 22:16:57 CEST 2016


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

            Bug ID: 17452
           Summary: Checking in item at remote location via SIP does not
                    trigger branch transfer
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: SIP2
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: barton at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org
                CC: colin.campbell at ptfs-europe.com

I'm using the following for illustration:

Item: BARCODE
User: USER
Homebranch: HUNTSMAN
SIP check in branch RICHFIELD

Steps to re-create:

Check item with barcode BARCODE out from HUNTSMAN.

Then simulate the check in at RICHMOND using sip_cli_emulator.pl:

/usr/share/koha/bin/sip_cli_emulator.pl --host HOSTNAME --port PORT --sip_user
sip_techlogic --sip_pass ********** --terminator CR --location RICHFIELD
--patron USER --password ********** --item BARCODE --message checkin

If you then check the database, you will the item information as

items.homebranch = HUNTSMAN
items.holdingbranch = RICHFIELD

and no branch transfer is created for the item.

The logs look like this:

INPUT MSG: '9300CNsip_techlogic|CO**********|CPRICHFIELD'
Successful login/auth for 'sip_techlogic' of 'RICHFIELD'
OUTPUT MSG: '941'
read_SIP_packet, INPUT MSG: '09N20161014    13105520161014   
131055APRICHFIELD|AORICHFIELD|ABBARCODE|AC**********|BIN'
INPUT MSG: '09N20161014    13105520161014   
131055APRICHFIELD|AORICHFIELD|ABBARCODE|AC**********|BIN'
OUTPUT MSG: '101YNY20161014   
131056AORICHFIELD|ABBARCODE|AQHUNTSMAN|AJDistracted :|AAUSER|CS302
J1636D|CV04|'
read_SIP_packet input undefined, end of input.
raw_transport: shutting down

The sip response

101YNY20161014    131056AORICHFIELD|ABBARCODE|AQHUNTSMAN|AJDistracted
:|AAUSER|CS302 J1636D|CV04|'

Corresponds to

---
command_name: Checkin Response
fields:
  - Header:
      - Command ID: 10
      - OK: 1
      - Resensitize: Y
      - Magnetic media: N
      - Alert: Y
      - Transaction Year: 2016
      - Transaction Month: 10
      - Transaction Day: 14
      - Transaction Timezone: ''
      - Transaction Hour: 13
      - Transaction Minute: 10
      - Transaction Second: 56
      - Institution id: AORICHFIELD
  - Item identifier: ABBARCODE
  - Permanent location: AQHUNTSMAN
  - Title identifier: 'AJDistracted :'
  - Sort bin: AAUSER
  - Patron identifier: CS302 J1636D
  - Fixed width 1:
      - Media type: CV0
      - Item properties: 4
  - Screen message: "'"

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


More information about the Koha-bugs mailing list