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

    Details

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: