Cannot Reproduce
Details
Assignee
Hleb SurnovichHleb SurnovichReporter
Hleb SurnovichHleb SurnovichPriority
P2Story Points
5Development Team
EBSCO - FSERelease
Ramsons (R2 2024) Bug FixRCA Group
Incomplete/missing requirementsAffected releases
Quesnelia (R1 2024)TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Hleb Surnovich
Hleb SurnovichReporter
Hleb Surnovich
Hleb SurnovichPriority
Story Points
5
Development Team
EBSCO - FSE
Release
Ramsons (R2 2024) Bug Fix
RCA Group
Incomplete/missing requirements
Affected releases
Quesnelia (R1 2024)
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created October 25, 2024 at 1:09 PM
Updated January 3, 2025 at 10:43 PM
Resolved January 3, 2025 at 10:43 PM
Roles migration job fails, and mod-roles-keycloak (v1.4.6) shows the following in logs:
[821739/mod-roles-keycloak] [mod-roles-keycloak] WARN MigrationService Permission migration was failed: jobId = f6f237a3-a3f8-4491-8fbf-465cc20a08f1
java.util.concurrent.CompletionException: jakarta.persistence.EntityNotFoundException: Keycloak resource is not found by static path: /circulation-item/{itemId}
Caused by: jakarta.persistence.EntityNotFoundException: Keycloak resource is not found by static path: /circulation-item/{itemId}
Scope:
If mod-roles-keycloak have some of pre-existing resources like capabilities or capabilities sets in place, then the migration will fail – this should be handled inside the code somehow in order not to throw errors during the migration;
If roles already exist in the cluster for some reason, they will not be created in mod-roles-keycloak through the API;
We are getting a large error message, it includes all the permissions not been added to the faulty role – would be great if these permission can be excluded somehow;
If there is any info about the root cause of the role not created, they are located at the debug loglevel, hence not displayed in CW logs, for example