After migrating packages, new MCS profiles can be successfully added, but when trying to update an existing one, there is an error:
Error
An Error occurred during your request.
Please try your request again.
From logs:
2023-11-28 13:20:02.022 [https-jsse-nio-443-exec-5] ERROR com.ca.uim.mcs.api.controller.ProfileSummaryController:updateProfile:294 controller.ProfileSummaryController - Unexpected error occured.com.ca.uim.mcs.api.exception.ServerErrorException: An unknown error occurred. Check the log for more information.at
com.ca.uim.mcs.api.service.ProfileService.createOrUpdateDeviceOrGroupProfile(ProfileService.java:496) ~[mcs-ui-api-20.4.8.jar:20.4.8]at com.ca.uim.mcs.api.service.ProfileService.replaceProfile(ProfileService.java:422) ~[mcs-ui-api-20.4.8.jar:20.4.8]
DX UIM 23.4.*
In tables ssrv2probetemplaespackage and ssrv2probetemplatesupgrade , there were some entries for packages with status of "migrating" and not "migrated".
Manually updating these entries to "ok" can resolve the issue
UPDATE ssrv2probetemplaespackage set status ='ok' where status = 'migrating'