Project

General

Profile

Actions

Defect #3336

closed

Wrong provisioning mapping and mixed identifiers after migrating accounts to version 13

Added by Alena Peterová over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Peter Štrunc
Category:
Account managment
Target version:
Start date:
04/17/2023
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:

Description

After migrating account with the SQL: https://github.com/bcvsolutions/CzechIdMng/blob/develop/MIGRATION.md#-database (from #3309), provisioning of accounts (entity event IdmIdentity NOTIFY) fails with an exception saying "Duplicate uid for account! Uid [honza] already exists. Change uid for account [65d5aa06-8613-4845-9616-812f7cce14a3] on system [f007c3d4-5e50-49ce-8fd2-09564b7afcb3] in mapping [4935b66a-839d-4020-a25a-b35099f8a5d9]"

The cause is probably the provisioning mapping for the account, which was set to some mapping from a different system by the migration script. (I have "LDAP CAS" and multiple other connected systems - DB, virtuals. The mapping should be "LDAP provisioning", but it is "Default provisioning" from one of the virtuals.)

Please improve the SQL migration script. Also, it would be safer if the SQL changed only records with system_mapping_id=null (after repeatedly running the SQL, new accounts got also broken).


Files

honza_mapping.png (71.7 KB) honza_mapping.png Alena Peterová, 04/17/2023 12:51 PM

Related issues

Related to IdStory Identity Manager - Defect #3309: Undefined account type: new group or password is not provisioned, account can't be edited after upgrade to 13ClosedTomáš Doischer03/22/2023

Actions
Actions

Also available in: Atom PDF