Details
Details
Assignee
Unassigned
UnassignedReporter
Ostap Voitsekhovskyi
Ostap VoitsekhovskyiPriority
Story Points
0
Sprint
Development Team
Vega
Release
Sunflower (R1 2025) Bug Fix
RCA Group
TBD
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created February 24, 2025 at 11:23 AM
Updated 2 days ago
An error occurs when a user with limited capabilities performs a check out by barcode
NOTE: test user has ONLY the following capabilities:
"name":"ui-checkout_circulation.execute"
-"resource":"UI-Checkout Circulation"
for admin user check out works well
POST /circulation/check-out-by-barcode
500 error
HTTP request to "http://localhost:8082/settings/entries" failed, status code: 400, response: "[Bad Request] Missing parameter X-Okapi-Permissions in HEADER"
To reproduce, please follow the TC https://foliotest.testrail.io/index.php?/cases/view/591
Reproducible on the envs:
https://folio-etesting-snapshot-diku.ci.folio.org
https://folio-etesting-cypress-diku.ci.folio.org
Preconditions:
A user account with an assigned service point and assigned permissions: Check Out circulating items
item A: number of pieces set to 1, and description of pieces, number of missing pieces, and description of missing pieces left blank
item B: number of pieces set to a number greater than 1 and/or some value for description of pieces; number of missing pieces and description of missing pieces left blank
item C: number of pieces set to a number greater than 1 and/or some value for description of pieces, and some value for number of missing pieces and/or description of missing pieces
item D: number of pieces set to 1, description of pieces left blank, and some value for number of missing pieces and/or description of missing pieces
Circulation rules that allow those items to circulate to a patron
Steps:
Open check out interface
Enter patron id or choose patron with "Patron look-up" function
Enter barcode of item A - the test fails on this step!
Enter barcode for item B (number of pieces set to a number greater than 1 and/or some value for description of pieces; number of missing pieces and description of missing pieces left blank) - the test fails on this step!
Click Cancel.
Enter barcode for item B again.
Click check out.
Enter barcode for item C (number of pieces set to a number greater than 1 and/or some value for description of pieces, and some value for number of missing pieces and/or description of missing pieces)
Click check out.
Enter barcode for item D (number of pieces set to 1, description of pieces left blank, and some value for number of missing pieces and/or description of missing pieces)
Click check out.