Uploaded image for project: 'sip2'
  1. sip2
  2. SIP2-83

Allow checkout when externalUserId is provided and password is not required

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: P2
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.3.1
    • Labels:
      None
    • Template:
      Standard Bug Write-Up Format
    • Development Team:
      ไป่€…ๆ— ๆ•Œ "Benevolence"
    • Release:
      Q2 2020

      Description

      This problem occurs when the patron tries to check out the item using patron's external system Id and providing the password is not required. It works as expected when the checkout is initiated by user's barcode.

      In current implementation, the patron can be identified by scanning barcode, externalSystemId and user name. When the patron is identified during the checkout, the patron object is retrieved and patron is verified by provided id and password. The missing password seems to fail the validation.

      Steps to recreate:
      1. Select a patron with a valid externalSystemID
      2. Scan it (or test using SIP2 testing tool) - the user is identified correctly
      3. Attempt to check out an item

      Expected behavior:
      The item is checked out according to existing circulation rules

      Actual behavior:
      "Could not find user with matching barcode" error is displayed.

      Here is the output from the testing tool:

      --> 9900401.00AY1AZFCA5
      <-- 98YYYNNN00500320200605    1537272.00AOfs00001019|AMMSU|BXNYYNYNYYYNNNNNNN|AN83d474aa-ee99-4924-8704-a03e3c56e0d9|AY1AZE130
      
      
      --> 6300120200605    163732          AOfs00001019|AAblt1981|BP1|BQ5|AY2AZF014
      <-- 64              00120200605    15373200000000        0000    AOfs00001019|AAblt1981|AEBrooks L Travis|BLY|BDLIBRARY, Springfield|BEFOLIOCirc@library.missouristate.edu|AY2AZD03B
      
      
      --> 11YN20200605    16374320200625    000000AOfs00001019|AAblt1981|AB42356000343802|AC|AD|BON|AY3AZE971
      <-- 120NUN20200605    153744AOfs00001019|AAblt1981|AB42356000343802|AJ|AH20200605    153744|AFCould not find user with matching barcode|AY3AZD9EE
      
      
      --> 6300120200605    163824          AOfs00001019|AA6366520002522045|BP1|BQ5|AY4AZEEF5
      <-- 64              00120200605    15382400000000        0000    AOfs00001019|AA6366520002522045|AEBrooks L Travis|BLY|BDLIBRARY, Springfield|BEFOLIOCirc@library.missouristate.edu|AY4AZCF1C
      
      
      --> 11YN20200605    16382720200625    000000AOfs00001019|AA6366520002522045|AB42356000343802|AC|AD|BON|AY5AZE851
      <-- 121NUY20200605    153828AOfs00001019|AA6366520002522045|AB42356000343802|AJThe trumpeter of Krakow / Eric P. Kelly|AH20201205    235959|AY5AZDBA0
      
      
      --> 09N20200605    16383420200605    163834AP 83d474aa-ee99-4924-8704-a03e3c56e0d9|AOfs00001019|AB42356000343802|AC|AY6AZE4C8
      <-- 101YUN20200605    153835AOfs00001019|AB42356000343802|AQGarnett Juvenile|AJThe trumpeter of Krakow / Eric P. Kelly|AY6AZDCDE
      
      

      Note that the checkout for the same user and item works if the barcode is scanned.

        TestRail: Results

          Attachments

          1. screenshot-1.png
            screenshot-1.png
            139 kB
          2. screenshot-2.png
            screenshot-2.png
            58 kB
          3. screenshot-3.png
            screenshot-3.png
            49 kB

            Issue Links

              Activity

                People

                Assignee:
                zwj@shlib ZhuWenjing
                Reporter:
                magdaz Magda Zacharska
                Votes:
                1 Vote for this issue
                Watchers:
                8 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases