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

REST API: Misleading error messages

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Won't Fix
    • L3 - Default
    • None
    • None
    • engine

    Description

      Catching ProcessEngineException in the REST API and interpreting it as a single error cause that may not be correct is a bad pattern. Users may be mislead to the wrong cause of an error.

      Example: https://github.com/camunda/camunda-bpm-platform/blob/7.8.0/engine-rest/engine-rest/src/main/java/org/camunda/bpm/engine/rest/sub/history/impl/HistoricProcessInstanceResourceImpl.java#L56

      Check all REST API resources for this anti-pattern.

      Related forum post: https://forum.camunda.org/t/historic-process-instance-does-not-exist-rest-request-exception/5591

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              thorben.lindhauer Thorben Lindhauer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce