Project

General

Profile

Actions

Task #975

closed

Cannot resave synchronization for organizations after upgrade

Added by Alena Peterová about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Vít Švanda
Category:
Synchronization
Target version:
Start date:
02/20/2018
Due date:
% Done:

100%

Estimated time:
Owner:

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?

Actions #1

Updated by Alena Peterová about 6 years ago

  • Subject changed from Cannot resave synchronization after upgrade to Cannot resave synchronization for organizations after upgrade
Actions #2

Updated by Vít Švanda about 6 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

Actions #3

Updated by Ondřej Kopr about 6 years ago

  • Assignee changed from Ondřej Kopr to Radek Tomiška
Actions #4

Updated by Radek Tomiška about 6 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.

Actions

Also available in: Atom PDF