Skip to main content
  • Subscribe by RSS
  • ExLibris Dev

    vxws: confusing error message when call slip fails

    • Article Type: General
    • Product: Voyager
    • Product Version: 8.1.1

    Issue number: 16384-20305
    Module: vxws / RESTful Call Slip API
    Server platform affected: all
    PC OS: n/a
    Browser & version: n/a

    Releases replicated in: 8.1.1
    Last version without bug: n/a

    Expected results:
    When PDS formats patron information sent to Voyager in a way it cannot parse, Voyager would return an error message to that effect.

    Actual results:
    When PDS formats group_id as group-id when submitting a Call Slip request via RESTful API, Voyager returns “Item is on order” rather than an error message indicating there is a problem with the API request.

    Workflow implications: Call Slip requests are submitted and not accepted by Voyager, but patrons and staff may be unable to determine why.

    Replication steps:
    In Primo, in the <institution>_primo.tags file, set v-group-id=group-id
    Identify a test patron and item, and in Voyager SysAdmin, ensure that Call Slip is allowed in the policy matrix.
    Submit a call slip request via Primo interface, or by manually submitting PUT request:


    <?xml version="1.0" encoding="UTF-8"?>
    <comment>testing callslip request</comment>
    <reqinput field="1">Volume</reqinput>
    <reqinput field="2">Issue</reqinput>
    <reqinput field="3">Year</reqinput>

    XML returned by that request:

    <reply-text>Failed to create request</reply-text>
    <note type="error">The item is on order.</note>

    Note type field is what displays in Primo.

    Now either trim the patron_group parameter from the URL, or set <institution>_primo.tags file, v-group-id=group_id
    (underscore instead of hyphen in group_id)

    Submit same request. XML returned:
    <note type="">Your request was successful.</note>

    Workaround: Ensure <institution>_primo.tags file has v-group-id=group_id


    • Article last edited: 3/16/2015
    // feedback widged