[MGRENTITLE-12] Keycloak resource cannot be created if type is longer than 255 chars Created: 31/Dec/23  Updated: 12/Jan/24

Status: Open
Project: mgr-tenant-entitlements
Components: None
Affects versions: None
Fix versions: None

Type: Bug Priority: P3
Reporter: Craig McNally Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: back-end, epam-eureka, eureka-phase4, need-review
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Defines
defines UXPROD-4605 Component Ownership In Progress
Sprint:
Development Team: Eureka

 Description   

Keycloak stage fails to create resources if the type field is longer than 255 characters (db column definition varchar(255))This is reproducible for resources in mod-invoice-5.6.2 with URL /batch-voucher/export-configurations/

{id}

/credentials and list of permissions:batch-voucher.export-configurations.credentials.item.postbatch-voucher.export-configurations.credentials.item.getbatch-voucher.export-configurations.credentials.item.put 



 Comments   
Comment by Yauhen Viazau [ 12/Jan/24 ]

Checked on Demo env

  • POST /batch-voucher/export-configurations/:configid/credentials is returned with following message:
    • "
      Unknown macro: {"errors"}

      ],\"total_records\":1}"
       

  • When trying to assign batch-voucher capabilities or sets to a user, the error messages are returned:
    • POST /users/capabilities → "Keycloak resource is not found by static path: /batch-voucher-storage/export-configurations/{id}/credentials"
    • POST /users/capability-sets → "Keycloak resource is not found by static path: /batch-voucher-storage/export-configurations/{id}/credentials"
Generated at Thu Feb 08 22:18:16 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.