...
Resolves DevOPs ticket 367440 Letter Distribution Bug
Change Request: CRQ 4466: CAWIS Production: Fix letter distribution bug
...
Log into CAWIS External or CAWIS External by selecting “TC Login” “TC Login” from the left-hand menu.
Select “Mailing” “Mailing” from the left-hand menu..
Select “Build-list”“Build-list from the left-hand menu.”.
Select
“Letter” from the
“Document Type” drop-down.
Select “Two documents” “Two documents” from the “Number “Number of Documents” 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”*“Publication Number”
Number of Documents can also be set to “One Document” The Number of Documents selected in step 4 and the name of the document need to correspond to the file(s) available to test with.
The locations of the document folders for development and acceptance are provided in the confluence pages, in the “UNC column of the Environment Access information for CAWIS External and CAWIS Internal.
Press “Verify”*
Pressing verify when testing on localhost results in a Matching Documents not found error. I have started to investigate: see 370279 localhost ONLY - investigate Matching documents do not exist
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”Preview”.
Actual Behaviour: The error “The fax template for this distribution exceeds the maximum 21 lines limit.” is displayed.
Expected behaviour: pressing the “Send Preview” button directs the user to a confirmation page similar to the one shown below.
...
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.
...
I successfully sent distributions for the “Letter”, “AD” and “CASA” document types.
Email should be checkedThe emails I received were correct.
Check Checked the MDM output log for errors.
...
verified that no individual addresses are used in the web.config for CAWIS Internal and CAWIS ExternalInstall instructions include request to update “Date Modified Date” to .
I have pushed an updated version of the web.config for localhost to the longform branch. The associated commit is linked to the Letter Bug in DevOps.
I checked that the web.configs on development and acceptance are not set to send errors to individual email addresses.
The install instructions for CRQ4466 include steps for CAWIS External and Internal, to update
the DateAppLast Modified value to reflect the date the solution is implemented on production.
Other
The install instructions specify to put up the “offline page” while the deployment to production is in progress.
Screenshot of issue reported by the client:
...