Project

General

Profile

Actions

Defect #1898

closed

Synchronization cannot be started because model mapper errors

Added by Radek Tomiška about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Immediate
Assignee:
Vít Švanda
Category:
Dto mapping
Target version:
Start date:
10/10/2019
Due date:
% Done:

0%

Estimated time:
Affected versions:
Owner:

Description

Synchronization cannot be started because model mapper errors:

Converter org.modelmapper.internal.converter.MergingCollectionConverter@16082079 failed to convert org.hibernate.collection.internal.PersistentBag to java.util.List

@affected version 9.7.9


Related issues

Related to IdStory Identity Manager - Task #1888: Update ModelMapperClosedRadek Tomiška10/03/2019

Actions
Actions #1

Updated by Radek Tomiška about 5 years ago

Actions #2

Updated by Radek Tomiška about 5 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Radek Tomiška to Vít Švanda

I downgraded model mapper library back to 0.7.8 version and improved model mapper checker - can be disabled by:

# Enable / disable  ModelMapperChecker - check registered IdM services after start.
idm.sec.core.modelmapper.checker.enabled=false

Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/7abd06f80f5e839ac288f8699a415c159d8178b5

Could you do a feedback, please?

Actions #3

Updated by Radek Tomiška about 5 years ago

I had to disable checker at all - checker is called before the model mapper is fully initialized and it's source of this issue.

We need to do a deeper analysis, what has to be done before new model mapper version can be used safely - so both features are reverted from hotfix branch for now.

Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/22c5183e756100d52e7f21dd4513dfb30a75dd58

Could you do a feedback, please?

Actions #4

Updated by Vít Švanda about 5 years ago

  • Status changed from Needs feedback to Resolved
  • Assignee changed from Vít Švanda to Radek Tomiška
  • % Done changed from 0 to 100

I did the review. Model mapper is downgraded and checker is disabled now. Sync works correctly now. Thanks for that fix.

Actions #5

Updated by Radek Tomiška about 5 years ago

  • Status changed from Resolved to Closed
  • Assignee changed from Radek Tomiška to Vít Švanda
  • % Done changed from 100 to 0
Actions

Also available in: Atom PDF