Defect #1898
closedSynchronization cannot be started because model mapper errors
0%
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
Updated by Radek Tomiška about 5 years ago
- Related to Task #1888: Update ModelMapper added
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?
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?
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.
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