Eureka - ECS - Users - 400 error in case admin trying to create new user

Description

Steps to reproduce:

  1. Login to https://folio-etesting-snapshot-consortium.ci.folio.org/ as an admin user

  2. Go to “Users” app

  3. Click ‘Action’ element

  4. Click ‘New’ button

Expected result:

User should be redirected to ‘Create user’ page without any errors

Actual result

Next error is displayed: Something went wrong. Please try again later.

https://kong-eureka-bugfest-ramsons-consortium.int.aws.folio.org/roles/users?limit=2000&query=userId%3D%3Dundefined

{
   "errors": [
       {
           "message": "Invalid UUID string: undefined",
           "type": "InvalidDataAccessApiUsageException",
           "code": "validation_error",
           "parameters": []
       }
   ],
   "total_records": 1
}

Additional information:

  • A user still can be created

  • Once the user is created, roles can be successfully assigned, and the “assigned roles” accordion is populated as expected.

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

4

Checklist

hide

Activity

Show:

Yury BarsukouDecember 17, 2024 at 12:42 PM

Retested on and    - fixed.

Yauhen ViazauDecember 9, 2024 at 5:07 PM

- please set the RCA group

Yauhen ViazauDecember 9, 2024 at 5:06 PM

Craig McNallyNovember 14, 2024 at 2:06 PM

Looks like ui-users is not correctly building the query to mod-roles-keycloak.

Kuzma RezchenkoNovember 13, 2024 at 9:02 PM

Looks like the call to roles/users contains userId undefined, potentially it is a mod-roles-keycloak or UI defect.

Re-assigning to the Eureka team.

CC:

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Eureka

Fix versions

RCA Group

Implementation coding issue

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created November 13, 2024 at 2:31 PM
Updated January 28, 2025 at 1:51 PM
Resolved December 9, 2024 at 5:07 PM
TestRail: Cases
TestRail: Runs