Project

General

Profile

Actions

Task #2348

closed

Imported system for organizations/contracts has empty type of structure (-> synchronization of organizations ends with Unknown state)

Added by Alena Peterová almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Low
Assignee:
Vít Švanda
Category:
Export Import
Target version:
Start date:
06/26/2020
Due date:
% Done:

100%

Estimated time:
Owner:

Description

Version 10.3.2

We exported and imported systems for organizations and contracts. All settings and attributes were created successfully, only the tree type was missing:
  • System for organizations -> Mapping of attributes -> Detail -> Tree type
  • System for contracts -> Synchronization -> Specific settings -> Default type of structure

The tree type has the same (default) code "ORGANIZATIONS" in both environments, but their UUID is different, because it's created automatically.

The result of the import seemed OK. (Result: Executed).


Second thing (this is more for future users, if anybody gets to the same situation):

When the synchronization or organizations is started without the tree type, results are "Unknown state":

26.06.2020 14:06:29: Account was not found. We try to find account for UID [672] (generated from the mapped attribute marked as Identifier)
-------------------------
26.06.2020 14:06:29: SystemEntity for this uid doesn't exist. We will create it.
-------------------------
26.06.2020 14:06:29: Account doesn't exist in IdM
-------------------------
26.06.2020 14:06:29: Operation count for [UNKNOWN] is [19]
-------------------------
26.06.2020 14:06:29: Operation count for [UNKNOWN] is [19]
Only in the application log, you can see the real reason:
2020-06-26 14:06:29.246 ERROR 225387 --- [base-task-executor-4] e.b.i.a.s.i.AbstractSynchronizationExecutor.loggingException : Synchronization - exception during [UNKNOWN] for UID 
[672]
java.lang.IllegalArgumentException: Tree type cannot be null!
        at org.springframework.util.Assert.notNull(Assert.java:198)
        at eu.bcvsolutions.idm.acc.service.impl.TreeSynchronizationExecutor.getEntityFilter(TreeSynchronizationExecutor.java:685)

It would be useful, if this exception was visible in the synchronization log through GUI, or if the synchronization didn't start at all.


Files

synchronization_logs.png (8.66 KB) synchronization_logs.png Alena Peterová, 06/26/2020 12:19 PM
sync_contracts_specific_settings.png (51.9 KB) sync_contracts_specific_settings.png Alena Peterová, 06/26/2020 12:19 PM
sync_mapping_tree_type.png (40.3 KB) sync_mapping_tree_type.png Alena Peterová, 06/26/2020 12:19 PM
Actions

Also available in: Atom PDF