Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-14206

In Cockpit, never-ending loading spinner is shown in the process instances search on no result

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.17.0, 7.17.0-alpha5
    • 7.17.0-alpha2, 7.16.3
    • cockpit, webapp
    • None

      Environment (Required on creation):

      Any distribution with Camunda Platform Runtime 7.16.3 or later.

      Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket):

      In Cockpit, a never-ending loading spinner is shown in the process instances search on no result.

      Steps to reproduce (Required on creation):

      1. In Cockpit, go to processes dashboard and apply the "unfinished" filter in the process instance search
        • At least one result should be shown
      2. Remove the "unfinished" filter
      3. Add another filter that produces no results
      4. Repeat the steps until you can reproduce the observed behavior

      Observed Behavior (Required on creation):

      A never-ending loading spinner is shown. It disappears when another AngularJS render cycle is triggered (e.g., clicking around).

      Expected behavior (Required on creation):

      The following message is shown: "No process instances matched by current query."

      Root Cause (Required on prioritization):

      The AngularJS render cycle is not triggered at the right moment, so that the "no results" message is not displayed.

      Solution Ideas (Optional):

      Trigger render cycle explicitly when REST request with no results is returned via $scope.$apply().

      Hints (optional):

      -

        This is the controller panel for Smart Panels app

              clifton.davies Clifton Davies
              tassilo.weidner Tassilo Weidner
              Clifton Davies Clifton Davies
              Tassilo Weidner Tassilo Weidner
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: