If a server instance name contains '-', e.g., slapd-TEST-SERVER, it accidentally picks up the first part of the instance name 'TEST'.
80upgradednformat.pl needs to be modified as follows:
my ($slapd, $serverID) = split(/-/, $instancedir);
my ($slapd, $serverID) = split(/-/, $instancedir, 2);
git patch file (master) 0001-Ticket-47420-An-upgrade-script-80upgradednformat.pl-.patch
Bug description: If a server instance name contains '-', e.g., slapd-TEST-SERVER, it accidentally picks up the first part of the instance name 'TEST'.
Fix description: Replacing "split(/-/, $instancedir)" with "split(/-/, $instancedir, 2)".
Do we have the same problem elsewhere in our perl code?
Replying to [comment:2 rmeggins]:
Thanks for the ack, Rich!
It looks this is the only place that has the problem...
Pushed to master: commit 4df4aad94f05ec9f8fde32bfe71b453d31092627 Pushed to 389-ds-base-1.3.1: commit 2e3a1c293ad7ca37628a51793dd4e0dfc5a2f916
Metadata Update from @nhosoi: - Issue assigned to nhosoi - Issue set to the milestone: 1.3.1.3
389-ds-base is moving from Pagure to Github. This means that new issues and pull requests will be accepted only in 389-ds-base's github repository.
This issue has been cloned to Github and is available here: - https://github.com/389ds/389-ds-base/issues/757
If you want to receive further updates on the issue, please navigate to the github issue and click on subscribe button.
subscribe
Thank you for understanding. We apologize for all inconvenience.
Metadata Update from @spichugi: - Issue close_status updated to: wontfix (was: Fixed)