Project

General

Profile

Actions

Defect #2496

closed

Importing the role with changed code fails

Added by Alena Peterová over 4 years ago. Updated about 4 years ago.


Description

Version 10.4.4

  • The roles in the IdM and in the export have same UUID
  • The role code in the test IdM changed (lower to upper case)
  • When trying to import the role to the production IdM, the import fails:
    2020-09-20 16:21:19.733 ERROR 7198318 --- [base-task-executor-6] e.b.i.c.s.a.s.AbstractLongRunningTaskExecutor.end : [core:ROLE_CODE_ENVIRONMENT_CONFLICT:acf23dc8-18dd-42aa-bfb4-9a3859e9372f] Role code [IT - Správce uživatelů] cannot be combined with environment [IT - Správce uživatelů]. Use base code with environment instead. ({code=IT - Správce uživatelů, baseCode=IT - Správce uživatelů, environment=null})
    eu.bcvsolutions.idm.core.api.exception.ResultCodeException: Role code [IT - Správce uživatelů] cannot be combined with environment [IT - Správce uživatelů]. Use base code with environment instead.
            at eu.bcvsolutions.idm.core.model.event.processor.role.RoleCodeEnvironmentProcessor.process(RoleCodeEnvironmentProcessor.java:87)
    

The environment of the role is null in both IdMs

Actions

Also available in: Atom PDF