Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.3.0
-
Fix Version/s: 1.3.0
-
Component/s: AdMax Deployment Service
-
Labels:None
Description
mapping from AdMaxListener response message -> optus not implemented correctly in CallbackEventAdapterOptus.
publishDeployResult
mapIDeployResultsToPublishDeployResultRequest
1) This code just logs and doesn't map.
if (publishDeployStatusResponse != null) {
LOGGER.debug("Received PublishDeployStatusResp. Indicated result: " + publishDeployStatusResponse.getResultCode());
for (String info : results.getDeployResult().getResultInfos())
2) this line is sending a completely incorrect string as the key
result.setResultCode(coreToOptusResultCodeMap.get(coreDeployResultCampaignCodeInfo));
3) the ResultString is null
result.setResultString(coreDeployResultAccountCodeInfo);