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

Providers and dependants in dataDepend do not get cleaned correctly

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Fixed
    • L3 - Default
    • 7.0.0-alpha9, 7.0.0
    • None
    • cockpit
    • None

    Description

      Providers and dependants in dataDepend do not get cleaned correctly up when surrounding scope gets destroyed.

      Problem arises in procDef instance and called process definitions tabs.

      ie. the following callback should get cleaned up correctly instead of leaking

      function MyController($scope) {
      $scope.data.get('asd', function(asd)

      { console.log(asd); }

      );
      }

      instead, the provided factory is not cleaned up at all and 'asd' is printed out once for each time the controller got initialized

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              smirnov Roman Smirnov
              rehwaldt Nico Rehwaldt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce