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

Kaleo - Kaleo Designer - Error Validation

    Details

      Description

      Validate error handling of kaleo designer such as "No End Node", "No Start Node", "Multiple Start Nodes", "Condition Node", "Configure Condition Node" and "No Connector for Non-State Nodes", the error massage are not met expection result. For example, expect that the definition cannot be saved without a Start Node, but actual result we can and so on. Actual result of each error hadling I am not sure whether they are intended and due to each situation need many steps to be reproduced that will be a long testcase to show in here, so please refer to the attachment 58297-testcase file for details. The below description is just summary.

      Summary of each scnario:

      A. No End Node
      Expect that the Definition can be saved without an End Node .
      Actual Result: the portlet displays the error: 'Please enter valid content.'.

      B. No Start Node
      Expect that the Definition cannot be saved without a Start Node.
      Actual result: it can be save as draft.
      Expect that 'An error occurred in the workflow engine.' displays.
      Actual result: The portlet displays the error: 'Please enter valid content.' .
      Expect that 'No initial state found in definition' displays in the console.
      Actual result: "No outgoing transition found for initial state StartNode".

      C. Multiple Start Nodes
      Click Save Draft.
      Expect that the portlet displays the error: 'Please enter valid content.'.
      Actual result: save as draft successfully with no error.

      D. Condition Node
      Click Save Draft.
      Expect that the portlet displays the error: 'Please enter valid content.'.
      Actual result: save as draft successfully with no error.

      E. Configure Condition Node
      Click Publish.
      Expect that the portlet does not display the error: 'Please enter valid content.'.
      Actual result: the portlet displays the error: 'Please enter valid content.'.

      F. No Connector for Non-State Nodes
      Click Save Draft.
      Expect that the portlet displays the error: 'Please enter valid content.'.
      Actual result: save as draft successfully with no error.

        Attachments

        1. 58297-testcase.txt
          6 kB
        2. kaleo-error validation.log
          124 kB
        3. Q.PNG
          Q.PNG
          92 kB

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 47 weeks, 6 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP26
                  7.0.X EE
                  7.0.4 CE GA5
                  Master