Task #975
closedCannot resave synchronization for organizations after upgrade
100%
Description
I had Synchronization for Tree nodes, the version of IdM was 7.5.3. Then I upgraded to 7.7.0 and then to 7.8.1. Now I cannot edit or just resave this Synchronization configuration, the message says:
"Type of sync configuration, cannot be changed!"
Log:
eu.bcvsolutions.idm.core.api.exception.ResultCodeException: Type of sync configuration cannot be changed (old type: [SysSyncIdentityConfigDto], new type: [SysSyncConfigDto])! at eu.bcvsolutions.idm.acc.service.impl.DefaultSysSyncConfigService.save(DefaultSysSyncConfigService.java:62)
If I create a new Synchronization definition for the same attribute mapping, it works alright.
This happens also in online demo for the system "HR organizations".
Could there be some problem in Flyway migration?
Updated by Alena Peterová almost 7 years ago
- Subject changed from Cannot resave synchronization after upgrade to Cannot resave synchronization for organizations after upgrade
Updated by Vít Švanda almost 7 years ago
- Status changed from New to Needs feedback
- Assignee changed from Vít Švanda to Ondřej Kopr
- Target version set to Garnet (7.8.2)
- % Done changed from 0 to 90
Yes, you have a right, the problem is in the Flyway script. In version 7.6.x was added specific configuration for the sync of identities. My change script incorrect created records for others syncs (Tree, Role, Role-catalogue).
I fixed it in 7.8.2 (incorrect records will be deleted) .. https://github.com/bcvsolutions/CzechIdMng/commit/62980001d2c284c7a041fc32f3e99147bab408a3
Updated by Ondřej Kopr almost 7 years ago
- Assignee changed from Ondřej Kopr to Radek Tomiška
Updated by Radek Tomiška almost 7 years ago
- Status changed from Needs feedback to Closed
- Assignee changed from Radek Tomiška to Vít Švanda
- % Done changed from 90 to 100
I did test and review and it looks ok, thx.