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

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Fixed
    • Priority: L3 - Default
    • 7.15.0-alpha1, 7.15.0
    • Affects Version/s: 7.12.0
    • Component/s: None
    • None

      // 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

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

              Created:
              Updated:
              Resolved: