Uploaded image for project: 'Camunda Operate'
  1. Camunda Operate
  2. OPE-958

Open subscriptions on transition between views

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.23.0
    • Component/s: frontend
    • Labels:
      None

      Description

      Bug description

      There seem to be open subscriptions on transition during page navigation.

      Steps to reproduce the behavior

      1. Go to dashboard
      2. Click on any workflow or error message from the panels to get to the instances list
      3. Navigate 1 step back using the browser controls
      3. Navigate 1 step forward again

      Problem - Current Behavior

      There is probably an open subscription which causes an error in the dev console (see stacktrace below).

      Expected behavior

      All subscriptions need to be cleaned up. There shouln't be any errors in the dev console.

      Environment and Additional Information

      Maybe this is a regression related to https://jira.camunda.com/browse/OPE-905

      • OS: Linux
      • Browser: Chrome

      Stacktrace:

      index.js:1 Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.
          in OperationsPanel (at CollapsablePanelContext.js:89)
          in WithCollapsablePanel(OperationsPanel) (at Instances.js:149)
          in main (created by Context.Consumer)
          in StyledComponent (created by styled.main)
          in styled.main (at Instances.js:101)
          in InstancesPollProviderComp (at context.js:17)
          in WithData (at Instances.js:97)
          in Instances (at InstancesContainer.js:469)
          in InstancesContainer (at withSharedState.js:34)
          in InstancesContainerSharedState (at context.js:17)
          in WithData (created by Context.Consumer)
      

        mgm-controller-panel

        This is the controller panel for Smart Panels app

          Attachments

            Activity

              People

              Assignee:
              patrick.dehn Patrick Dehn
              Reporter:
              patrick.dehn Patrick Dehn
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: