Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-73335

Kaleo Designer Notification Template should not be blank

    Details

      Description

      Issues
      "approved" state's Notification in Single Approver notifies like below:

      Notification no longer applies.
      Notification for My Workflow Tasks was deleted.

      Steps to reproduce

      Start a clean bundle
      From CP > Kaleo Designer create a new workflow
      Note that it only has 2 nodes, StartNode and EndNode
      In EndNode, add a "User Notification" (use freemaker and leave template content empty)
      Save
      Go to Liferay DXP site > DM
      Add a new folder
      Edit that folder to apply the created workflow
      Access that folder
      Upload a document
      Note that a notification is generated
      Go to My Account > Notifications
      Note that a "Notification no longer applies" notification is there

      Actual Results

      There is no validation to prevent blank template contents

      The notification says

      Notification no longer applies.
      Notification for My Workflow Tasks was deleted.

      Expected Results.
      There should be some validation to prevent blank template contents are sent to notification engine. then notification should not be shown with your empty template content.

      Reproduced In
      ee-7.0.x (35cfc8dea3931176a03d5586778602c6a50c050e)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              david.zhang David Zhang (Inactive)
              Reporter:
              david.zhang David Zhang (Inactive)
              Participants of an Issue:
              Recent user:
              Michael Saechang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 51 weeks, 4 days ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 DXP FP21
                  Master