Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-1131

Footer emits warning when session expires

    • Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 2.0.0
    • None
    • frontend
    • None

      Reproduce:

      • Goto any protected page
      • Let session expire (or delete your credential cookies and localstorage)
      • Navigate to another protected page

      Expected:

      • I get redirected to login page without warnings in browser console

      Observed:

      • Warning about setting setState on an unmounted component (Footer)

      Hint:
      The Footer component is mounted when the new protected page is accessed. The Footer makes a query for the connection status. Before the query response arrives, the Footer is unmounted again for the login page

        This is the controller panel for Smart Panels app

            [OPT-1131] Footer emits warning when session expires

            Reopening to use an alternative solution which provides better support for error handling.

            Sebastian Stamm added a comment - Reopening to use an alternative solution which provides better support for error handling.

            Documentation of new ErrorHandling HOC is here

            Sebastian Stamm added a comment - Documentation of new ErrorHandling HOC is here

            Johannes added a comment -

            Nice

            Johannes added a comment - Nice

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

                Created:
                Updated:
                Resolved: