Defect #2786
closedAD Wizard - if resumed after importing certificate and restart, pairing sync and some configuration are missing
100%
Description
Tested on 11.0.0-RC.2
When connecting AD using the wizard, I stopped in the step 2 and went to import the certificate to IdM.
After restarting IdM, I reopened the wizard and proceeded to the next steps.
However, the option to create a pairing synchronization was missing in the step 4 Containers
After completing the wizard, connector configuration useVlvSort, pageSize, vlvSortAttribute was not set to the values usually set, but to its default. Unfortunately, the default values are wrong and cause that accounts aren't loaded correctly
Notes:
Wrong default pageSize=0 is fixed in the connector - #2278 - but IdM uses older version of the connector.
We use VLV as a workaround for some older problem - https://redmine.bcvsolutions.eu/issues/15561 - but I tested it now quickly and it looks like it works fine without VLV. It found all my accounts! I don't really know what changed and if we can stop using VLV...
Files
Related issues
Updated by Alena Peterová over 3 years ago
- Related to Task #2768: Testing and release of version 11.0 added
Updated by Vít Švanda over 3 years ago
- Tracker changed from Task to Defect
- Status changed from New to In Progress
- Priority changed from Normal to Low
- Target version set to 11.0.0
- Affected versions 10.8.0 added
Updated by Vít Švanda over 3 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Vít Švanda to Radek Tomiška
- % Done changed from 0 to 90
I fixed that.
This behavior was intentional. The goal was to prevent the user from modifying the VLV on an existing system so that he would not lose this value when reopening the system in the wizard. Therefore, the values in the connector configuration are modified only during the first run of the wizard. I kept this behavior because I think it's right.
However, the script here also makes sense to me. So the solution was to find another way to identify that the wizard had not been completed. Here I have modified it so that I modify the data in the connector configuration every time there is no mapping (provisioning and sync).
Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/72e37613b520f5ea04b9d416ca9056c27b997a3f
https://github.com/bcvsolutions/CzechIdMng/commit/c51e15be540fd119b550603a60821a6ec7576f1d
Updated by Radek Tomiška over 3 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 code review, it works and code is nice, thx!