[Koha-bugs] [Bug 17826] Allow extended patron attributes to be sent in arbitrary SIP2 fields

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 27 08:31:36 CEST 2017


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

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

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

--- Comment #11 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 68655
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=68655&action=edit
Bug 17826 - Allow extended patron attributes to be sent in arbitrary SIP2
fields

Some libraries need to be able to send additional patron data from the
extended patron attributes in made up SIP2 fields for the patron
information and patron status responses.

Test Plan:
1) Apply this patch
2) Create 3 new patron attributes with the codes CODE1, CODE2, CODE3.
   Make a least one repeatable.
3) Create a patron, add those attibutes for the patron, make sure there
   are at least two instances of the repeatable code
4) Edit your SIP2 config file, add the following within the login stanza:
   <patron_attribute field="XX" code="CODE1" />
   <patron_attribute field="XY" code="CODE2" />
   <patron_attribute field="XZ" code="CODE3" />
5) Using the sip cli emulator, run patron_information and
   patron_status_request messages for the patron
6) Note the values you set for the patron attributes are sent in the
   corrosponding fields!

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Daniel Mauchley <dmauchley at duchesne.utah.gov>

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Amended: added parentheses on line 488 when assigning hashref to array.

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


More information about the Koha-bugs mailing list