Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-5333

Redundant modal shown when exception is thrown during starting of process

    XMLWordPrintable

Details

    • NEW
    • NEW
    • Hide

      Prerequisites:
      A project with a process containing a service task without work item handler has been successfully deployed to kie-server container.
      Example of a process definition with an Email as service task attached - emailProcess.png.

      Steps:
      1. Login to controller Workbench.
      2. Navigate to Process Definitions page and try to start an instance of the process.
      3. Click on the Submit button.
      4. The first error dialog appears - firstErrorDialog.png
      5. Click Ok button to acknowledge the error.

      Expected result:
      After acknowledging the error, the submit form is shown again.

      Actual result:
      The second error dialog appears - secondErrorDialog.png

      Show
      Prerequisites: A project with a process containing a service task without work item handler has been successfully deployed to kie-server container. Example of a process definition with an Email as service task attached - emailProcess.png. Steps: 1. Login to controller Workbench. 2. Navigate to Process Definitions page and try to start an instance of the process. 3. Click on the Submit button. 4. The first error dialog appears - firstErrorDialog.png 5. Click Ok button to acknowledge the error. Expected result: After acknowledging the error, the submit form is shown again. Actual result: The second error dialog appears - secondErrorDialog.png

    Description

      When attempting to start an instance of a process which contains a service task without work item handler, the error modal dialog appears two times in a row.

      The error description is slightly different between two occurrences, but in both cases the same information is being conveyed.

      The first error dialog that appears seems to be superfluous and not intended, as the second one is expected by current regression tests.

      EDIT: The point of testing this specific scenario using selenium not to test projects without email WIH specifically, but to test the general behavior of the UI in cases when exception is thrown during starting of the process. The specific way we achieved this (having email work item without associated WIH) seemed like the easiest way to achieve this.

      Attachments

        1. emailProcess.png
          emailProcess.png
          9 kB
        2. firstErrorDialog.png
          firstErrorDialog.png
          28 kB
        3. secondErrorDialog.png
          secondErrorDialog.png
          35 kB

        Activity

          People

            xiabai@redhat.com Xiaofeng Bai
            bsremac_jira Bojan Sremac (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: