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

Exception message is not shown when a batch operation fails in Cockpit

    Details

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

      Description

      Steps to reproduce:
      1) go to batch operation page in cockpit
      2) execute for example the operation "set retries of jobs ..."
      3) add the search criteria "Finished Only"
      4) execute the batch operation

      Problem:
      The batch operation fails, but the exception message is not visible in cockpit (see attached screenshot)

      Expected:
      The exception message is shown.

      Hint:
      The same behavior can also observed in case of other batch operations.

        Activity

        Hide
        sebastian.stamm Sebastian Stamm added a comment -

        I think ['unknown', 'payload'].indexOf(executionCtrl.getErrorType()) <= -1 can never be true as the getErrorType method always returns either payload or unknown.

        We can probably get rid of the getErrorType method altogether as we don't display different messages depending on the type of the error.

        Show
        sebastian.stamm Sebastian Stamm added a comment - I think ['unknown', 'payload'].indexOf(executionCtrl.getErrorType()) <= -1 can never be true as the getErrorType method always returns either payload or unknown. We can probably get rid of the getErrorType method altogether as we don't display different messages depending on the type of the error.
        Hide
        sebastian.stamm Sebastian Stamm added a comment - - edited

        The getErrorType method is not used anymore so we should remove it from the execution component and the tests. Also, the indentation of the template file should be adjusted.

        Show
        sebastian.stamm Sebastian Stamm added a comment - - edited The getErrorType method is not used anymore so we should remove it from the execution component and the tests. Also, the indentation of the template file should be adjusted.

          People

          • Assignee:
            Unassigned
            Reporter:
            roman.smirnov Smirnov Roman
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: