Uploaded image for project: 'Document Management System'
  1. Document Management System
  2. DMS-2447

CBAT-DMS | On Updating email template throwing "Invalid Template name" Error

    Details

    • Type: Bug
    • Status: In QA Testing
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      On CBAT-DMS , While user try to edit any Email template and than save it , changes get saved successfully while throwing an error related to "Template Invalid name" . This issue occurs on below Email type:

      1. Form(s) Delinquent Email
      2.  Form(s) Completion Email

      attaching screenshots for the same

       

        Attachments

          Activity

          Hide
          narendra.kumar Narendra Kumar added a comment -

          Hi Mohd Belal

          I have fixed the issue of the validation message. It was the previous implementation when we do not support the special characters in the email template name. But we had removed the check from the backend but not at the front-end. So now I have removed the pattern check from the UI side as well.

          Apart from that also provided the fix for one more issue in this: 

          During edit the email template if we refresh the page it becomes the create a new email template. So this is now fixed.

          Here is the PR for this: https://github.com/cbdr/DMS/pull/1231 Please review it.

           

          Thanks

          Narendra K.

          Show
          narendra.kumar Narendra Kumar added a comment - Hi Mohd Belal I have fixed the issue of the validation message. It was the previous implementation when we do not support the special characters in the email template name. But we had removed the check from the backend but not at the front-end. So now I have removed the pattern check from the UI side as well. Apart from that also provided the fix for one more issue in this:  During edit the email template if we refresh the page it becomes the create a new email template. So this is now fixed. Here is the PR for this: https://github.com/cbdr/DMS/pull/1231  Please review it.   Thanks Narendra K.
          Hide
          poonam.rana poonam.rana (Inactive) added a comment -

          Hello Narendra Kumar,

          Above reported Issue has been verified on CBAT STAGE environment, It is Working as Expected now.  No more error is displaying for "Template Name" on entering correct data .

          We can move the same to PROD.

           

          Thanks,
          Poonam Rana

          Show
          poonam.rana poonam.rana (Inactive) added a comment - Hello Narendra Kumar , Above reported Issue has been verified on CBAT STAGE environment, It is Working as Expected now.  No more error is displaying for "Template Name" on entering correct data . We can move the same to PROD.   Thanks, Poonam Rana
          Hide
          narendra.kumar Narendra Kumar added a comment -

          Hi poonam.rana

          This is now deployed on prod.  Please verify it.

          Show
          narendra.kumar Narendra Kumar added a comment - Hi poonam.rana This is now deployed on prod.  Please verify it.

            People

            Assignee:
            poonam.rana poonam.rana (Inactive)
            Reporter:
            poonam.rana poonam.rana (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Time Tracking

                Estimated:
                Original Estimate - 8h
                8h
                Remaining:
                Time Spent - 4h Remaining Estimate - 4h
                4h
                Logged:
                Time Spent - 4h Remaining Estimate - 4h
                4h