"ALLOWED" value is not accepted on RRA log retrieval

Description

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:

  1. At least 1 reading room is created in Settings → Tenant → Reading room access

  2. Scan at least 1 user barcode while being on Reading room access app and allow access for this user

  3. Scan at least 1 user barcode while being on Reading room access app and deny access for this user

  4. Send a GET request to <host>/reading-room/access-log?query=action=ALLOWED

  5. 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:

Environment

None

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Estimation Notes and Assumptions

None

RCA Group Details

None

Attachments

6

Checklist

hide

Activity

Show:

Polina Ustimenko April 11, 2025 at 12:26 PM

Tested on Sunflower ECS bugfest, fixed:

cc:

JenkinsNotifications April 11, 2025 at 5:48 AM

Module mod-reading-room was deployed to sunflower bugfest environment with version 1.2.1.

Polina Ustimenko April 11, 2025 at 4:40 AM

Tested on eureka snapshot, fixed:

cc: please don’t move tickets from code review/prep deployment directly into any “done” status without testing, as such tickets should be tested on snapshot first, before releasing.

Done

Details

Assignee

Reporter

Development Team

Release

RCA Group

Story Points

Sprint

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
TestRail: Cases
TestRail: Runs