Done
Details
Assignee
Pavel FilippovPavel FilippovReporter
Polina UstimenkoPolina UstimenkoDevelopment Team
VolarisRelease
Sunflower (R1 2025) Bug FixRCA Group
TBDStory Points
2Sprint
NoneFix versions
Priority
P2TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Pavel Filippov
Pavel FilippovReporter
Polina Ustimenko
Polina UstimenkoDevelopment Team
Volaris
Release
Sunflower (R1 2025) Bug Fix
RCA Group
TBD
Story Points
2
Sprint
None
Fix versions
Priority
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created April 4, 2025 at 12:17 PM
Updated April 15, 2025 at 9:44 AM
Resolved April 10, 2025 at 11:48 AM
Overview: Reading room logs can be retrieved on GET call to <env>/reading-room/access-log and accepts following params:
action
readingRoomName
userId
patronId
servicePointId
readingRoomId
offset
limit
Params except offset and limit are used with “query” parameter name followed by needed filtering parameter. “action” parameter accepts values ALLOWED and DENIED, but starting from some time ago, filtering logs by action returns 500 error:
Steps to reproduce:
At least 1 reading room is created in Settings → Tenant → Reading room access
Scan at least 1 user barcode while being on Reading room access app and allow access for this user
Scan at least 1 user barcode while being on Reading room access app and deny access for this user
Send a GET request to <host>/reading-room/access-log?query=action=ALLOWED
Send a GET request to <host>/reading-room/access-log?query=action=DENIED
Expected result: reading room logs are returned for both calls
Actual result: 500 error described above is returned for both calls:
Additional info: Reproducible on eureka snapshot and S bugfest. Works as expected on R bugfest: