Purpose:
Resolves DevOPs ticket 367440 Letter Distribution Bug
Change Request: CRQ4466
Summary:
Pressing the “Send Preview” button for Letter distributions in triggers the error message “The fax template for this distribution exceeds the maximum 21 lines limit.”
Minimum Steps to reproduce the issue
(see also the screenshot provided at the end of this document)
Log into CAWIS External or CAWIS External by selecting “TC Login” from the left-hand menu.
Select “Mailing” from the left-hand menu..
Select “Build-list”.
Select “Letter” from the document-type drop-down.
Select “Two documents” from the “Number of Documents” drop-down.
Enter “CF-2022-45” as the public number (this can be any valid document that exists in the corresponding document environment for the development, acceptance or production.
Press “Verify”*
In the Distribution Preview section verify that EMAIL is set to your own EMAIL address.
Enter any text into the English and French subject and “Attention” required fields.
Press “Send Preview”.
Actual Behaviour: The error “The fax template for this distribution exceeds the maximum 21 lines limit.” is displayed.
Expected behaviour:
Solution
The issue was caused by "CheckFaxTemplateLine" in D_L_a.aspx.
The business no longer sends faxes.
The issue is solved by commenting out the following code:
"CheckFaxTemplateLine" in D_L_a.aspx, D_L_a.aspx.
The function
CheckFaxTemplateValidity(
) in distribution.vb. This function contains the 21 line limit.
Publishing:
Very Important about publishing the packages for CAWIS Internal and External. Publish the package for CAWIS Internal using the “Acceptance Profile”. Publish the package for CAWIS External using the “Staging Profile”. Using the wrong profile will cause admin functionality to be exposed to unauthorized users. |
---|
Testing:
Note: CAWIS MDM has to be running correctly.
Developer testing on development and acceptance
I successfully sent distributions for the “Letter”, “AD” and “CASA” document types.
Email should be checked.
Check the MDM output log for errors.
Client testing on acceptance.
The client has tested the “Letter” distribution type.
Web Config:
verified that no individual addresses are used in the web.config for CAWIS Internal and CAWIS External
Install instructions include request to update “Date Modified Date” to the date the solution is implemented on production
Screenshot of issue reported by the client:
0 Comments