Project

General

Profile

Actions

Defect #2292

closed

Role import with multivalue values separated with | creates multiple roles with one character names

Added by Vladimír Kotýnek almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Tomáš Doischer
Target version:
Start date:
06/03/2020
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:

Description

I am using ImportRolesFromCSVExecutor from Extras modul 2.2.0.
I have CSV file:

name_for_user;guarantee;guarantee_type;guarantee_role;guarantee_role_type
Approved_role;user1;first-approver;;
Approved_role;user1;second-approver;;
Second_role;;;Approver_Role1;first-approver
Third_role;user2;first-approver;Approver_role2;second-approver
Fourth_role;user3|user4|user5;first-approver;;

In configuration of the LRT I set the separator of multivalued attirbutes as |
When I run this LRT none of the roles is updated. But there waw about 36 new IdmRole entities created. Those new roles have codes and names that contains only one char, e.g. "T" or "o". Some of those new roles are set as guarantors of some other of those new roles.

Please examine this behavior and eventualy pepare a bugfix.


Related issues

Related to extras - Task #2274: Refactor ImportRolesFromCSVExecutor and CSVToIdMClosedPeter Štrunc05/26/2020

Actions
Actions

Also available in: Atom PDF