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

wrong error message in Task REST-API when submitting invalid bpmnError

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Fixed
    • L3 - Default
    • 7.15.0-alpha1, 7.15.0
    • 7.12.0
    • None
    • None

    Description

      // When

      • I have submit a payload to the rest resource {task/<taskId>/bpmnError}
      • The taskId is valid
      • The errorCode is null or not present in the request body

      // Then

      • The server return 404 - {Task with id <taskId> does not exist}

      // Expected

      • The server responds 400 with a meaningful error message

      Notes:

      • On Java API level, we need to throw NotFoundException when the task does not exist and treat that properly in the REST API

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                martin.stamm Martin Stamm
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce