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

Dashboard Search takes to long to display empty results

    • Icon: Bug Report Bug Report
    • Resolution: Won't Fix
    • Icon: L3 - Default L3 - Default
    • None
    • 7.14.5, 7.13.11, 7.15.0-alpha4
    • cockpit, webapp
    • None

      Environment (Required on creation):

      EE-Webapps

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

      On the search processes Dashboard Plugins, empty results are not displayed right away

      Steps to reproduce (Required on creation):

      • Open the Process Dashboard
      • Create a search that returns to process instances (e.g. start date in the future)

      Observed Behavior (Required on creation):

      • The loading spinner is displayed even when the request finished
      • The loading spinner disappears when I click in the search bar or otherwise trigger an digest cycle

      Expected behavior (Required on creation):

      • The empty message is displayed as soon as the network request is completed

      Root Cause (Required on prioritization):

      • Probably due to changes in CAM-12838
      • $scope.$apply is only called on successfull requests, not on empty requests

      Solution Ideas (Optional):

      Always call $apply() on finished requests

      Hints (Optional):

        This is the controller panel for Smart Panels app

            [CAM-13196] Dashboard Search takes to long to display empty results

            Martin Stamm created issue -
            Martin Stamm made changes -
            Description Original: h4. Environment (Required on creation):
            Webapps, 7.15.0-alpha4

            h4. Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket):
            On the search processes Dashboard Plugins, empty results are not displayed right away

            h4. Steps to reproduce (Required on creation):
            - Open the Process Dashboard
            - Create a search that returns to process instances (e.g. start date in the future)

            h4. Observed Behavior (Required on creation):
            - The loading spinner is displayed even when the request finished
            - The loading spinner disappears when I click in the search bar or otherwise trigger an digest cycle

            h4. Expected behavior (Required on creation):
            - The empty message is displayed as soon as the network request is completed

            h4. Root Cause (Required on prioritization):
            - Probably due to changes in CAM-12838
            - {{$scope.$apply}} is only called on successfull requests, not on empty requests

            h4. Solution Ideas (Optional):
            Always call {{$apply()}} on finished requests

            h4. Hints (Optional):


            New: h4. Environment (Required on creation):
            EE-Webapps

            h4. Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket):
            On the search processes Dashboard Plugins, empty results are not displayed right away

            h4. Steps to reproduce (Required on creation):
            - Open the Process Dashboard
            - Create a search that returns to process instances (e.g. start date in the future)

            h4. Observed Behavior (Required on creation):
            - The loading spinner is displayed even when the request finished
            - The loading spinner disappears when I click in the search bar or otherwise trigger an digest cycle

            h4. Expected behavior (Required on creation):
            - The empty message is displayed as soon as the network request is completed

            h4. Root Cause (Required on prioritization):
            - Probably due to changes in CAM-12838
            - {{$scope.$apply}} is only called on successfull requests, not on empty requests

            h4. Solution Ideas (Optional):
            Always call {{$apply()}} on finished requests

            h4. Hints (Optional):


            Martin Stamm made changes -
            Mentioned Roles
            Martin Stamm made changes -
            Mentioned Groups
            Nikola Koevski made changes -
            Mentioned Roles
            Nikola Koevski made changes -
            Mentioned Groups
            Thorben Lindhauer made changes -
            Resolution New: Won't Fix [ 2 ]
            Status Original: Open [ 1 ] New: Closed [ 6 ]

              martin.stamm Martin Stamm
              martin.stamm Martin Stamm
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: