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

In Cockpit, user operations tab doesn't load when an entry without user exists

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: 7.10.2, 7.11.0-alpha1
    • Fix Version/s: 7.11.0, 7.10.3, 7.11.0-alpha2, 7.9.11
    • Component/s: cockpit
    • Labels:
      None

      Description

      Steps to reproduce

      • configure restrictUserOperationLogToAuthenticatedUsers to false in process engine configuration
      • have a REST-API endpoint without authentication
      • for a process instance with historical variables, delete one historical entry via unauthenticated REST call
      • click on the 'User Operations' tab in the process instance history - it loads forever

      AT

      • The User Operations Tab loads
      • operations with userID null are shown with empty 'User' column

      Hints
      Differentiation:

      1. if the entry with null user is the only entry for the process instance
        1. the follow-up request on "/user" is with "idIn="
        2. the Chrome web console shows no error
      2. if the entry with null user is one of the entries for the process instance
        1. the follow-up request on "/user" is with "idIn=,demo"
        2. the Chrome web console shows:
      TypeError: Cannot read property 'firstName' of undefined
          at plugin.js?bust=7.11.0-SNAPSHOT-1549442749865:12
          at Array.map (<anonymous>)
          at plugin.js?bust=7.11.0-SNAPSHOT-1549442749865:12
          at processQueue (deps.js?bust=7.11.0-SNAPSHOT-1549442749865:25907)
          at deps.js?bust=7.11.0-SNAPSHOT-1549442749865:25955
          at Scope.$digest (deps.js?bust=7.11.0-SNAPSHOT-1549442749865:27068)
          at deps.js?bust=7.11.0-SNAPSHOT-1549442749865:27388
          at TaskTracker.completeTask (deps.js?bust=7.11.0-SNAPSHOT-1549442749865:29187)
          at deps.js?bust=7.11.0-SNAPSHOT-1549442749865:14783 "Possibly unhandled rejection: {}"
      

        Activity

        Hide
        martin.stamm Martin Stamm added a comment -

        Thorben Lindhauer We should evaluate if this is expected behaviour first

        Show
        martin.stamm Martin Stamm added a comment - Thorben Lindhauer We should evaluate if this is expected behaviour first

          People

          • Assignee:
            michael.schoettes Michael Schoettes
            Reporter:
            tobias.metzke Tobias Metzke
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development