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

Job Definition Suspension Overlay tries to read definitions before they are loaded

XMLWordPrintable

      Reproduce:

      • Open process definition runtime view in Cockpit

      Expected:

      • No errors in console

      Observed:

      TypeError: $scope.jobDefinitionsForElement.filter is not a function
          at Scope.$scope.isSuspended (jobDefinitionSuspensionOverlay.js:29)
      

      Hint:

      • only happens, if the job-definition query takes a long time
      • the reason is, that jobDefinitionsForElement is accessed before it is available in the scope
      • to reproduce, artifically delay submit of job-definition query in jobDefinition/app/data/processDefinition/jobDefinitionData.js#L11

        This is the controller panel for Smart Panels app

              smirnov Roman Smirnov
              sebastian.stamm Sebastian Stamm
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: