Support Article

Error while opening 'Acknowledgement of Cancellation’ assignment

SA-32272

Summary



In Smart Investigate for Payments 7.11, when a Fast Correspondence is rejected by the verifier, an ‘Acknowledgement of Cancellation’ assignment is created. Upon opening that assignment an error is seen on the screen.


Error Messages



‘Error - Open Authoring control failed to load’


Steps to Reproduce

  1. Create a Smart Investigate Case.
  2. Create a Fast Correspondence.
  3. Log in with another user and Reject the Fast Correspondence.
  4. See that an “Acknowledge Cancellation for Swift_......” assignment is created.
  5. Click on the assignment and the “Error - Open Authoring control failed to load” error is thrown.


Root Cause



A defect or configuration issue in the operating environment

Resolution



Perform the following local-change:

The following HTML rule is involved with the OCX control:

RULE-OBJ-HTML PEGAAPP-WORK- AppCorrAckCancel

It is recommended to overwrite this rule (as this rule is “available”), remove the below code snippet from it related to the OCX control.

The code to remove -

<script language="javascript">


function loadMe() {
varoOpenAuthor;
varsCurEditFileName;

// Analyze OCX load status.
if (document.getElementById("OpenAuthorFail") != null) {
alert("Error - Open Authoring control failed to load.");
oOpenAuthor = null;
return;
} else {
oOpenAuthor = document.getElementById("OpenAuthor");
}

// Try to recreate the Word file complete with attachments,
// from the encoded, zipped string retrieved from the record.
sCorrBodyVal = document.getElementById("corrBody").value;
sCorrZipBodyVal = document.getElementById("corrZippedBody").value;

if (sCorrZipBodyVal != "") {
sCurEditFileName = document.getElementById("corrWordName").value;

if (sCurEditFileName != "") {
sCurWordDocPath = oOpenAuthor.sWordDocDecodeUnzip( sCurEditFileName, sCorrZipBodyVal);

if (sCurWordDocPath == "") {
alert("Error - Decode/Unzip failed.");
return;
}
varsViewText = oOpenAuthor.sHtmWordDocGet( );
if( sViewText != "" ) {
varoFrameDoc = WordPreviewFrame.document;
oFrameDoc.open("text/html");
oFrameDoc.write(sViewText);
oFrameDoc.close();
oOpenAuthor.bKillEditedWordDoc(sCurEditFileName, sCurWordDocPath);
document.all("WordPreviewFrame").style.visibility = "visible";
document.all("WordPreviewFrame").style.display = "block";
return;
} else {
alert("Error - Opening word file failed.");
return;
}

} else {
alert("Error - Word Document name is missing for the correspondence.");
}

} else {
varsViewText = sCorrBodyVal;
varoFrameDoc = WordPreviewFrame.document;
oFrameDoc.open("text/html");
oFrameDoc.write(sViewText);
oFrameDoc.close();
}
}


</script>


<OBJECT classid=CLSID:ABA23149-06BA-440D-88FF-69203B966083 codebase="openauthoring.cab#version=4,2,0,40" id=OpenAuthor
style="VISIBILITY: hidden" viewastext><PARAM NAME="_ExtentX" VALUE="0"><PARAM NAME="_ExtentY" VALUE="0">
<span ID="OpenAuthorFail" STYLE="color:red">Open Authoring Control Load Failure!</span>
</OBJECT>



Published January 9, 2017 - Updated January 30, 2017

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.