In Cockpit User Operation Log Table, Details are not shown

XMLWordPrintable

      How Reproduce:

      • Have a Process Definition with at least 1 Job Definition
      • Change the Job Definition Priority in the runtime Jobs Tab
      • Navigate to History -> User Operations

      // Expected

      • I can see the priority I set

      // Actual

      • the New Value column is empty and the following error is displayed
        deps.js?bust=1575382390868:23508 Error: [ngRepeat:dupes] Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: newValue in operation.newValues, Duplicate key: string:100, Duplicate value: 100
        

      // Root Cause

      • The table rows in the multi-space row are created using ng-repeat. This expects unique values, the set operation operation sets the same value for both entries
      • This can be fixed by adding track by $index to the expression

            Assignee:
            Akif
            Reporter:
            Martin Stamm
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: