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
We are closing this ticket as part of our backlog grooming. Reasons: