Actions
Defect #2496
closedImporting the role with changed code fails
Start date:
09/20/2020
Due date:
% Done:
100%
Estimated time:
Affected versions:
Onyx (9.3.0), Onyx (9.3.1), Opal (9.4.0-rc.1), Onyx (9.3.2), Onyx (9.3.3), Opal (9.4.0-rc.2), Onyx (9.3.4), Opal (9.4.0), Pyrite (9.5.0), Pyrite (9.5.1), Pyrite (9.5.2), Pyrite (9.5.3), Pyrite (9.5.4), Quartz (9.6.0), Quartz (9.6.1), Quartz (9.6.2), Quartz (9.6.3), Quartz (9.6.4), Quartz (9.6.5), Pyrite (9.5.1.2), Quartz (9.6.6), Rhyolite (9.7.0), Rhyolite (9.7.2), Rhyolite (9.7.3), Rhyolite (9.7.4), Rhyolite (9.7.5), Rhyolite (9.7.6), Rhyolite (9.7.7), Rhyolite (9.7.8), Rhyolite (9.7.9), Rhyolite (9.7.10), Rhyolite (9.7.11), Rhyolite (9.7.12), Rhyolite (9.7.13), 10.0.0, Rhyolite (9.7.14), 10.0.1, 10.1.0, Rhyolite (9.7.15), Rhyolite (9.7.16), 10.2.0, 10.0.2, 10.3.0, 10.3.1, 10.3.2, Rhyolite (9.7.17), 10.3.3, 10.4.0, 10.4.1, 10.4.2, 10.4.3, 10.4.4, 10.5.0, 10.5.1, 10.4.7
Owner:
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