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

Tasklist is not null-safe when no filters are defined

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: 7.4.6, 7.3.7, 7.5.1, 7.8.0-alpha6
    • Fix Version/s: 7.8.0, 7.7.5, 7.6.9
    • Component/s: tasklist
    • Labels:

      Description

      Steps to reproduce:
      1) make sure that there are no filters defined in tasklist
      2) login into tasklist

      Problem:
      The following error is thrown:

      Error: unresolvable: Cannot read property 'properties' of undefined
          at dataDepend.js:261
          at wrappedCallback (angular.js:11722)
          at angular.js:11808
          at Scope.$eval (angular.js:12851)
          at Scope.$digest (angular.js:12663)
          at Scope.$apply (angular.js:12955)
          at options.done (HttpClient.js:42)
          at http-client.js:68
          at Request.callback (client.js:857)
          at Request.<anonymous> (client.js:501)
      

      Expected behavior:
      No error is thrown.

      Hints:
      After deletion of all filters in tasklist the following errors are thrown:

      TypeError: Cannot read property 'focus' of undefined
          at cam-tasklist-filters-ctrl.js:80
          at angular.js:14457
          at completeOutstandingRequest (angular.js:4413)
          at angular.js:4734
      
      Error: <currentFilter> <- unresolvable: Cannot read property 'id' of undefined
          at dataDepend.js:212
          at wrappedErrback (angular.js:11731)
          at angular.js:11864
          at Scope.$eval (angular.js:12851)
          at Scope.$digest (angular.js:12663)
          at Scope.$apply (angular.js:12955)
          at options.done (HttpClient.js:42)
          at http-client.js:68
          at Request.callback (client.js:857)
          at Request.<anonymous> (client.js:501)
      
      Error: <taskListQuery> <- <currentFilter> <- unresolvable: Cannot read property 'id' of undefined
          at dataDepend.js:212
          at wrappedErrback (angular.js:11731)
          at angular.js:11864
          at Scope.$eval (angular.js:12851)
          at Scope.$digest (angular.js:12663)
          at Scope.$apply (angular.js:12955)
          at options.done (HttpClient.js:42)
          at http-client.js:68
          at Request.callback (client.js:857)
          at Request.<anonymous> (client.js:501)
      
      angular.js:10147 Error: <taskList> <- <taskListQuery> <- <currentFilter> <- unresolvable: Cannot read property 'id' of undefined
          at dataDepend.js:212
          at wrappedErrback (angular.js:11731)
          at angular.js:11864
          at Scope.$eval (angular.js:12851)
          at Scope.$digest (angular.js:12663)
          at Scope.$apply (angular.js:12955)
          at options.done (HttpClient.js:42)
          at http-client.js:68
          at Request.callback (client.js:857)
          at Request.<anonymous> (client.js:501)
      

        Attachments

          Activity

            People

            Assignee:
            michael.schoettes Michael Schoettes
            Reporter:
            roman.smirnov Roman Smirnov
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: