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

Inconsistent behavior when opening Task Details in Process & Tasks Dashboard

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.x
    • 7.0.0.Final
    • Console
    • NEW
    • NEW
    • Hide

      1. "Create" a task in status completed (by running a process with human task, thereby completing the process).
      2. Go to process and task dashboard, select Tasks, click Show tasks on the right
      3. click the row in the table with completed task

      Actual result: modal with low-level kie server exception & url is displayed
      expected result: in these expected cases when we know task details can't be retrieved, user should receive higher lever error message like "Task details is not available"

      Show
      1. "Create" a task in status completed (by running a process with human task, thereby completing the process). 2. Go to process and task dashboard, select Tasks, click Show tasks on the right 3. click the row in the table with completed task Actual result: modal with low-level kie server exception & url is displayed expected result: in these expected cases when we know task details can't be retrieved, user should receive higher lever error message like "Task details is not available"

      After user clicks on "show tasks" under Tasks in Process and task dashboard a table with tasks is displayed. After clicking on task row for some tasks Task details panel on the right is opened, and for some tasks not (because task data are no longer available ?)

      But this behavior is not consistent - for tasks in status:
      Exited - red notification is displayed "Task details is not available"
      Completed - user gets a modal with low level exception message.

      I think when task details can't be retrieved from kie-server for well known reason (like in the case for Completed tasks) the error displayed in the UI should be the same as for Exited tasks ("Task details is not available") to make the behavior consistent.

              nmirasch@redhat.com Neus Miras Chueca
              jhrcek Jan Hrcek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: