Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Purpose:

Resolves DevOPs ticket 367440 Letter Distribution Bug

Change Request: CAWIS Production: Fix letter distribution bug

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)

  1. Log into CAWIS External or CAWIS External by selecting “TC Login” from the left-hand menu.

  2. Select “Mailing” from the left-hand menu..

  3. Select “Build-list”.

  4. Select “Letter” from the document-type drop-down.

  5. Select “Two documents” from the “Number of Documents” drop-down.

  6. 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.

  7. Press “Verify”*

  8. In the Distribution Preview section verify that EMAIL is set to your own EMAIL address.

  9. Enter any text into the English and French subject and “Attention” required fields.

  10. 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.
See also: Confluence document: CAWIS MDM

DevOps ticket: 370898 MDM - verify that code in the repos matches what is currently deployed to production

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:

image-20240829-114646.png

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.